Skip to content

Commit

Permalink
fix 示例地址大小写错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xilanhuaweidapao committed Nov 25, 2024
1 parent ec6a676 commit 82965ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/mapboxgl/createTempLayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ <h5 class="panel-title text-center" data-i18n="resources.title_createTempLayer">
<script type="text/javascript" src="../../dist/mapboxgl/include-mapboxgl.js"></script>
<span id="show"></span>
<script type="text/javascript">
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
var host = window.isLocal ? window.server : 'http://localhost:8090';
var layerInfoService,
tempLayer,
newResourceID,
result,
url = host + '/iserver/services/map-world/rest/maps/World';
url = host + '/iserver/services/map-World/rest/maps/World';
var map = new mapboxgl.Map({
container: 'map',
style: {
Expand Down Expand Up @@ -88,7 +88,7 @@ <h5 class="panel-title text-center" data-i18n="resources.title_createTempLayer">
source: {
type: 'raster',
tiles: [
host + '/iserver/services/map-World/rest/maps/World/zxyTileImage.png?z={z}&x={x}&y={y}&transparent=true&cacheEnabled=false&noWrap=true&layersID=' +
host + '/iserver/services/map-world/rest/maps/World/zxyTileImage.png?z={z}&x={x}&y={y}&transparent=true&cacheEnabled=false&noWrap=true&layersID=' +
result.newResourceID
],
tileSize: 256
Expand Down
2 changes: 1 addition & 1 deletion examples/maplibregl/createTempLayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h5 class="panel-title text-center" data-i18n="resources.title_createTempLayer">
source: {
type: 'raster',
tiles: [
host + '/iserver/services/map-World/rest/maps/World/zxyTileImage.png?z={z}&x={x}&y={y}&transparent=true&cacheEnabled=false&noWrap=true&layersID=' +
host + '/iserver/services/map-world/rest/maps/World/zxyTileImage.png?z={z}&x={x}&y={y}&transparent=true&cacheEnabled=false&noWrap=true&layersID=' +
result.newResourceID
],
tileSize: 256
Expand Down

0 comments on commit 82965ee

Please sign in to comment.