修改 cesium地图
parent
180ae2efdb
commit
dd8354d8c6
BIN
iotalarm.zip
BIN
iotalarm.zip
Binary file not shown.
|
|
@ -26,7 +26,7 @@ module.exports = {
|
||||||
contextInject: {
|
contextInject: {
|
||||||
// 应用Key
|
// 应用Key
|
||||||
appKey: "",
|
appKey: "",
|
||||||
fileUrl: "https://jpfz.qhdsafety.com/gbsFileTest/",
|
fileUrl: "",
|
||||||
// fileUrl: "https://skqhdg.porthebei.com:9004/file/uploadFiles2/",
|
// fileUrl: "https://skqhdg.porthebei.com:9004/file/uploadFiles2/",
|
||||||
},
|
},
|
||||||
// public/index.html注入全局变量
|
// public/index.html注入全局变量
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ function BaiduMap({
|
||||||
latitude={currentLatitude}
|
latitude={currentLatitude}
|
||||||
disable={mapDisabled}
|
disable={mapDisabled}
|
||||||
onConfirm={handleConfirm}
|
onConfirm={handleConfirm}
|
||||||
|
type="cesium"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -321,12 +321,12 @@ function SensorDeviceList(props) {
|
||||||
visible
|
visible
|
||||||
&& (
|
&& (
|
||||||
<MapSelector
|
<MapSelector
|
||||||
|
|
||||||
visible={visible}
|
visible={visible}
|
||||||
latitude={selectedLat}
|
latitude={selectedLat}
|
||||||
longitude={selectedLng}
|
longitude={selectedLng}
|
||||||
onClose={() => setVisible(false)}
|
onClose={() => setVisible(false)}
|
||||||
onConfirm={handleConfirm}
|
onConfirm={handleConfirm}
|
||||||
|
type="cesium"
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue