Commit 075eb89f authored by 耿迪迪's avatar 耿迪迪

地图缩放大小 gengdidi

parent 11dc01b0
...@@ -56,7 +56,7 @@ class gaodeMap { ...@@ -56,7 +56,7 @@ class gaodeMap {
showLabel: true, showLabel: true,
// labelzIndex: 110, // labelzIndex: 110,
pitch: 8, pitch: 8,
zoom: 9, zoom: 12,
mapStyle, mapStyle,
// mapStyle: 'amap://styles/darkblue', // mapStyle: 'amap://styles/darkblue',
// mapStyle: 'amap://styles/3b679a15f448a4740ba2ff7524e1a4ae', // mapStyle: 'amap://styles/3b679a15f448a4740ba2ff7524e1a4ae',
...@@ -341,7 +341,7 @@ class gaodeMap { ...@@ -341,7 +341,7 @@ class gaodeMap {
this.markers.splice(this.changePolineListNum, 0, marker); this.markers.splice(this.changePolineListNum, 0, marker);
this.changePolineListNum = null; this.changePolineListNum = null;
} }
map.setZoom("11"); map.setZoom("12");
//map.setFitView(); //map.setFitView();
function infoClose(e) { function infoClose(e) {
......
...@@ -76,7 +76,7 @@ class gaodeMap { ...@@ -76,7 +76,7 @@ class gaodeMap {
showLabel: true, showLabel: true,
// labelzIndex: 110, // labelzIndex: 110,
pitch: 8, pitch: 8,
zoom: 9, zoom: 13,
//mapStyle: 'amap://styles/darkblue', //mapStyle: 'amap://styles/darkblue',
mapStyle mapStyle
}); });
...@@ -427,7 +427,7 @@ class gaodeMap { ...@@ -427,7 +427,7 @@ class gaodeMap {
// 如果这个值为false说明不是workerpoint,就push进去 // 如果这个值为false说明不是workerpoint,就push进去
if (!marker.workerPoint) { if (!marker.workerPoint) {
this.markers.push(marker); this.markers.push(marker);
map.setZoom("11"); map.setZoom("13");
} }
//map.setFitView(); //map.setFitView();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment