Skip to content

Commit 43684ec

Browse files
fix example review by luox
1 parent e8f85e7 commit 43684ec

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

dist/mapboxgl/include-mapboxgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
inputScript(libsurl + '/vue-cesium/2.1.4/index.umd.min.js');
212212
}
213213
if (inArray(includes, 'snap')) {
214-
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.js');
214+
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.min.js');
215215
}
216216
if (inArray(includes, 'ugcwasm')) {
217217
inputScript(libsurl + '/ugcwasm/1.0.0/UGCWasmAll.js');

dist/maplibregl/include-maplibregl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
179179
}
180180
if (inArray(includes, 'snap')) {
181-
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.js');
181+
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.min.js');
182182
}
183183
if (inArray(includes, 'ugcwasm')) {
184184
inputScript(libsurl + '/ugcwasm/1.0.0/UGCWasmAll.js');

examples/leaflet/06_trafficTransferAnalystService.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
#trafficRes {
2525
margin: 5px;
2626
}
27+
28+
.leaflet-control {
29+
font-size: 14px;
30+
}
2731
</style>
2832
</head>
2933
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">

examples/leaflet/addressMatchService.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
<meta charset="UTF-8">
88
<title data-i18n="resources.title_addressMatchService"></title>
99
</head>
10+
<style>
11+
#geocode, #geodecode {
12+
font-size: 14px;
13+
}
14+
</style>
1015
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
1116
<div id="map" style="width: 100%;height:100%"></div>
1217
<script type="text/javascript" include="bootstrap-css,jquery" src="../js/include-web.js"></script>

examples/mapboxgl/drawAndEditFeatures.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ <h5><span data-i18n="resources.text_featureToDelete"></span>:</h5>
316316
var currentDataset = 'buildings_R';
317317
var map,
318318
draw,
319-
url = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/map-china400/rest/maps/China_4326";
319+
url = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}";
320320
var isUpdate = false;
321321
var dataUrl = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/data-building/rest/data";
322322
var dataSourceName = 'building';

examples/maplibregl/drawAndEditFeatures.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ <h5><span data-i18n="resources.text_featureToDelete"></span>:</h5>
317317
var currentDataset = 'buildings_R';
318318
var map,
319319
draw,
320-
url = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/map-china400/rest/maps/China_4326";
320+
url = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}";
321321
var isUpdate = false;
322322
var dataUrl = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/data-building/rest/data";
323323
var dataSourceName = 'building';

0 commit comments

Comments
 (0)