|
@@ -42,23 +42,8 @@ let getMapProp = function(type1, type2){
|
|
|
}
|
|
|
return props
|
|
|
}
|
|
|
-
|
|
|
|
|
|
-let defaultMapProps = getMapProp('satellite','amap')
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-[{url: `//wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=${satellite?6:7}&x={x}&y={y}&z={z}&layer=6&token=YOUR_API_KEY`, //style=6是卫星,7是标准
|
|
|
- maximumLevel: satellite?18:19,
|
|
|
- name:'高德baseLayer'
|
|
|
-},{
|
|
|
- url: `//wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}&layer=6&token=YOUR_API_KEY`, //style=6是卫星,7是标准
|
|
|
- maximumLevel: 18,
|
|
|
- name:'高德textLayer'
|
|
|
-}]
|
|
|
-let cesAspect , cesImageryProvider, mapProps = defaultMapProps
|
|
|
+let cesAspect , cesImageryProvider, mapProps = getMapProp('satellite','amap')
|
|
|
|
|
|
|
|
|
const Id_noIntersect = -100 //path绘制在地图上的点,modelId传这个值,勿更改
|