视频 geoserver地址 和 脚本加载优化
This commit is contained in:
@@ -7,6 +7,8 @@ import droneInspectImg from '../assets/images/xunjiancar.png';
|
||||
import gecaocar from '../assets/images/gecaocar.png';
|
||||
import arrowImg from '../assets/images/arrow.png';
|
||||
import iotImg from '../assets/images/iot.png';
|
||||
import envConfig from '../../env';
|
||||
|
||||
|
||||
const CYAN_ALARM_COLOR = new window.Cesium.Color(
|
||||
34 / 255,
|
||||
@@ -307,7 +309,7 @@ export default function CesiumMap({ realtimePosition, pathPoints = [], devices =
|
||||
}
|
||||
|
||||
function fetchPublishedLayers() {
|
||||
const baseUrl = "http://192.168.2.59:7000/geoserver";
|
||||
const baseUrl = envConfig.geoserver_url;
|
||||
//const baseUrl = 'https://gis.caasrobot.com/geoserver';
|
||||
const getCapabilitiesUrl = `${baseUrl}/wms?service=WMS&version=1.1.1&request=GetCapabilities`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user