Skip to content

Commit 485dc6c

Browse files
committed
【example】优化示例
1 parent 5dcb407 commit 485dc6c

16 files changed

+17
-17
lines changed

examples/classic/OGC_wms.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ <h5 class='panel-title text-center' data-i18n="resources.text_wms"></h5>
117117
function switchLayer(wms) {
118118
map.addLayers([wms]);
119119
var center = new SuperMap.LonLat(9.755859375, 0.87890625);
120-
map.setCenter(center, 3);
120+
map.setCenter(center, 5);
121121
lastLayer = wms;
122122
mapDiv.focus();
123123
newHtml = resources.text_currentInfo+"<br>" + resources.text_mapProjection + wms.projection + "<br>"+resources.text_currentVersion + wms.params.VERSION;

examples/component/components_dataflow_react.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
'raster-tiles': {
4646
attribution: attribution,
4747
type: 'raster',
48-
tiles: [host + '/iserver/services/map-china/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}'],
48+
tiles: [host + '/iserver/services/map-china400/rest/maps/ChinaDark/zxyTileImage.png?z={z}&x={x}&y={y}'],
4949
tileSize: 256
5050
}
5151
},

examples/component/components_dataflow_vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
type: "raster",
101101
tiles: [
102102
host +
103-
"/iserver/services/map-china/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}"
103+
"/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}"
104104
],
105105
tileSize: 256
106106
}

examples/component/components_labeltheme_react.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
]
6666
},
6767
center: [116.4, 39.79],
68-
zoom: 3
68+
zoom: 4
6969
};
7070

7171
var themeOptions = {

examples/component/components_labeltheme_vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
]
8484
},
8585
center: [116.4, 39.79],
86-
zoom: 3
86+
zoom: 4
8787
},
8888
features,
8989
themeOptions: {

examples/component/components_map_react.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
]
6262
},
6363
center: [120.143, 30.236],
64-
zoom: 3
64+
zoom: 4
6565
};
6666
ReactDOM.render(<SmWebMap mapOptions={mapOptions} />, document.getElementById('main'));
6767
</script>

examples/component/components_map_vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
}]
6565
},
6666
center: [120.143, 30.236], // starting position
67-
zoom: 3 // starting zoom
67+
zoom: 4 // starting zoom
6868
}
6969
};
7070
}

examples/component/components_openfile_vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
]
7272
},
7373
center: [120.143, 30.236],
74-
zoom: 3
74+
zoom: 4
7575
}
7676
};
7777
}

examples/component/components_ranksymboltheme_react.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
]
8080
},
8181
center: [116.85, 39.79],
82-
zoom: 3
82+
zoom: 4
8383
};
8484

8585
var themeOptions = {

examples/component/components_ranksymboltheme_vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
]
100100
},
101101
center: [116.85, 39.79],
102-
zoom: 3
102+
zoom: 4
103103
},
104104
features,
105105
themeOptions: {

0 commit comments

Comments
 (0)