File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2525< script >
2626 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
2727 "with <span>© <a href='http://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" +
28- " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span>" ,
29- baseUrl = 'http://support.supermap.com.cn:8090/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}' ,
30- dataUrl = "http://support.supermap.com.cn:8090/iserver/services/data-world/rest/data" ;
28+ " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span>" ;
29+ var host = window . isLocal ? window . server : "http://support.supermap.com.cn:8090" ;
30+ var baseUrl = host + '/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}' ;
31+ var dataUrl = host + "/iserver/services/data-world/rest/data" ;
3132
3233 var map = new mapboxgl . Map ( {
3334 container : 'map' , //div id
Original file line number Diff line number Diff line change @@ -564,6 +564,7 @@ var exampleConfig = {
564564 } , {
565565 name : "纽约城市建筑变化图" ,
566566 name_en : "New York Construction" ,
567+ localIgnore : true ,
567568 thumbnail : "mb_deckgl_nyBuilding.png" ,
568569 fileName : "deckglLayer_nyBuilding"
569570 } , {
You can’t perform that action at this time.
0 commit comments