src/conf/MapConfig.js
@@ -1,6 +1,6 @@ import * as L from 'leaflet' import TDT from './TDT' import { Layers } from './Layers' import { ServiceLayers, PointLayers } from './Layers' const curWwwPath = window.document.location.href const pathname = window.document.location.pathname const pos = curWwwPath.indexOf(pathname) @@ -35,7 +35,8 @@ showBaseMapType: 1, // 1显示天地图,2显示arcgis地图 IntranetBaseMaps: TDT.intranet, InternetBaseMaps: TDT.internet, ServiceLayers: Layers ServiceLayers: ServiceLayers, PointLayers: PointLayers } /**