Skip to content

Commit 38bf786

Browse files
committed
update, raster范例组件名字修改, review by songym
1 parent 0aaae58 commit 38bf786

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

examples/mapboxgl/components_estateMonitoringPlatform_vue.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@
138138
<a-col :md="12" id="map-col">
139139
<div class="map-holder">
140140
<sm-web-map :map-options="mapOptions">
141-
<sm-raster-layer v-bind="rasteLayerOptions"></sm-raster-layer>
142141
<sm-geojson-layer :data="data" :layer-style="layerStyle"></sm-geojson-layer>
143142
</sm-web-map>
144143
</div>
@@ -226,9 +225,6 @@
226225
center: [116.47, 39.92], // starting position
227226
zoom: 16 // starting zoom
228227
},
229-
rasteLayerOptions: {
230-
mapUrl: host + '/iserver/services/map-china400/rest/maps/ChinaDark/zxyTileImage.png?z={z}&x={x}&y={y}',
231-
},
232228
data: '../data/buildings.json',
233229
layerStyle: {
234230
paint: {

examples/mapboxgl/components_raster_vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
2424
<div id="main">
2525
<sm-web-map server-url='http://support.supermap.com.cn:8092/' map-id="676816598">
26-
<sm-raster-layer v-bind="rasteLayerOptions"></sm-raster-layer>
26+
<sm-raster-tile-layer v-bind="rasteLayerOptions"></sm-raster-tile-layer>
2727
<sm-layer-list position="top-left"></sm-layer-list>
2828
</sm-web-map>
2929
</div>

0 commit comments

Comments
 (0)