Skip to content

Commit

Permalink
fix example review by luox
Browse files Browse the repository at this point in the history
  • Loading branch information
xilanhuaweidapao committed May 29, 2024
1 parent e8f85e7 commit 43684ec
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/mapboxgl/include-mapboxgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
inputScript(libsurl + '/vue-cesium/2.1.4/index.umd.min.js');
}
if (inArray(includes, 'snap')) {
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.js');
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.min.js');
}
if (inArray(includes, 'ugcwasm')) {
inputScript(libsurl + '/ugcwasm/1.0.0/UGCWasmAll.js');
Expand Down
2 changes: 1 addition & 1 deletion dist/maplibregl/include-maplibregl.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
}
if (inArray(includes, 'snap')) {
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.js');
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.min.js');
}
if (inArray(includes, 'ugcwasm')) {
inputScript(libsurl + '/ugcwasm/1.0.0/UGCWasmAll.js');
Expand Down
4 changes: 4 additions & 0 deletions examples/leaflet/06_trafficTransferAnalystService.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
#trafficRes {
margin: 5px;
}

.leaflet-control {
font-size: 14px;
}
</style>
</head>
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
Expand Down
5 changes: 5 additions & 0 deletions examples/leaflet/addressMatchService.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
<meta charset="UTF-8">
<title data-i18n="resources.title_addressMatchService"></title>
</head>
<style>
#geocode, #geodecode {
font-size: 14px;
}
</style>
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
<div id="map" style="width: 100%;height:100%"></div>
<script type="text/javascript" include="bootstrap-css,jquery" src="../js/include-web.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/mapboxgl/drawAndEditFeatures.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ <h5><span data-i18n="resources.text_featureToDelete"></span>:</h5>
var currentDataset = 'buildings_R';
var map,
draw,
url = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/map-china400/rest/maps/China_4326";
url = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}";
var isUpdate = false;
var dataUrl = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/data-building/rest/data";
var dataSourceName = 'building';
Expand Down
2 changes: 1 addition & 1 deletion examples/maplibregl/drawAndEditFeatures.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ <h5><span data-i18n="resources.text_featureToDelete"></span>:</h5>
var currentDataset = 'buildings_R';
var map,
draw,
url = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/map-china400/rest/maps/China_4326";
url = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}";
var isUpdate = false;
var dataUrl = (window.isLocal ? window.server : "https://iserver.supermap.io") + "/iserver/services/data-building/rest/data";
var dataSourceName = 'building';
Expand Down

0 comments on commit 43684ec

Please sign in to comment.