File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1009,7 +1009,7 @@ var exampleConfig = {
10091009 {
10101010 name : "经纬网" ,
10111011 name_en : "graticule" ,
1012-
1012+ version : "10.1.1" ,
10131013 thumbnail : "graticule_3857.png" ,
10141014 fileName : "graticuleLayer_3857"
10151015 }
Original file line number Diff line number Diff line change 1313< script type ="text/javascript " src ="../../dist/mapboxgl/include-mapboxgl.js "> </ script >
1414< script type ="text/javascript ">
1515 var host = window . isLocal ? window . server : "https://iserver.supermap.io" ;
16- var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys={\ "epsgCode\ ":3857}&z={z}&x={x}&y={y}" ;
16+ var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys=" + encodeURIComponent ( '{ "epsgCode":3857}' ) + " &z={z}&x={x}&y={y}";
1717 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
1818 "with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" +
1919 " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " ;
Original file line number Diff line number Diff line change 1313< div id ="map " style ="margin:0 auto;width: 100%;height: 100% "> </ div >
1414< script >
1515 var host = window . isLocal ? window . server : "https://iserver.supermap.io" ;
16- var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys={\ "epsgCode\ ":3857}&z={z}&x={x}&y={y}" ;
16+ var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?" + encodeURIComponent ( '{ "epsgCode":3857}' ) + " &z={z}&x={x}&y={y}";
1717 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
1818 "with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" +
1919 " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " ;
Original file line number Diff line number Diff line change 1313< script type ="text/javascript " src ="../../dist/mapboxgl/include-mapboxgl.js "> </ script >
1414< script type ="text/javascript ">
1515 var host = window . isLocal ? window . server : "https://iserver.supermap.io" ;
16- var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys={\ "epsgCode\ ":3857}&z={z}&x={x}&y={y}" ;
16+ var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys=" + encodeURIComponent ( '{ "epsgCode":3857}' ) + " &z={z}&x={x}&y={y}";
1717 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
1818 "with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" +
1919 " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " ;
Original file line number Diff line number Diff line change 1313< script type ="text/javascript " src ="../../dist/mapboxgl/include-mapboxgl.js "> </ script >
1414< script type ="text/javascript ">
1515 var host = window . isLocal ? window . server : "https://iserver.supermap.io" ;
16- var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys={\ "epsgCode\ ":3857}&z={z}&x={x}&y={y}" ;
16+ var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys=" + encodeURIComponent ( '{ "epsgCode":3857}' ) + " &z={z}&x={x}&y={y}";
1717 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
1818 "with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" +
1919 " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " ;
Original file line number Diff line number Diff line change 1313< script type ="text/javascript " src ="../../dist/mapboxgl/include-mapboxgl.js "> </ script >
1414< script type ="text/javascript ">
1515 var host = window . isLocal ? window . server : "https://iserver.supermap.io" ;
16- var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys={\ "epsgCode\ ":3857}&z={z}&x={x}&y={y}" ;
16+ var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys=" + encodeURIComponent ( '{ "epsgCode":3857}' ) + " &z={z}&x={x}&y={y}";
1717 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
1818 "with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" +
1919 " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " ;
Original file line number Diff line number Diff line change 1313< script type ="text/javascript " src ="../../dist/mapboxgl/include-mapboxgl.js "> </ script >
1414< script type ="text/javascript ">
1515 var host = window . isLocal ? window . server : "https://iserver.supermap.io" ;
16- var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys={\ "epsgCode\ ":3857}&z={z}&x={x}&y={y}" ;
16+ var url = host + "/iserver/services/map-world/rest/maps/World/zxyTileImage.png?prjCoordSys=" + encodeURIComponent ( '{ "epsgCode":3857}' ) + " &z={z}&x={x}&y={y}";
1717 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
1818 "with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" +
1919 " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " ;
You can’t perform that action at this time.
0 commit comments