File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2222< div id ="map "> </ div >
2323< script type ="text/javascript " src ="../../dist/include-mapboxgl.js "> </ script >
2424< script type ="text/javascript ">
25+ var host = window . isLocal ? document . location . protocol + "//" + document . location . host : "http://support.supermap.com.cn:8090" ;
2526 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
26- "| Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " +
27- " with <span>© <a href='http://iclient.supermapol.com' target='_blank'>SuperMap iClient</a></span>" ;
28- var baseUrl = 'http://support.supermap.com.cn:8090 /iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}',
29- dataUrl = "http://support.supermap.com.cn:8090 /iserver/services/data-world/rest/data";
27+ "| Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " +
28+ " with <span>© <a href='http://iclient.supermapol.com' target='_blank'>SuperMap iClient</a></span>" ;
29+ var baseUrl = host + ' /iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}',
30+ dataUrl = host + " /iserver/services/data-world/rest/data";
3031 var map = new mapboxgl . Map ( {
3132 container : 'map' ,
3233 style : {
You can’t perform that action at this time.
0 commit comments