File tree Expand file tree Collapse file tree 6 files changed +13
-587
lines changed
Expand file tree Collapse file tree 6 files changed +13
-587
lines changed Original file line number Diff line number Diff line change @@ -550,10 +550,6 @@ var exampleConfig = {
550550 name : "淡雅绿风格" ,
551551 thumbnail : "l_tileVectorLayer_natural.png" ,
552552 fileName : "vectorTileLayerNatural"
553- } , {
554- name : "MapBox 矢量瓦片" ,
555- thumbnail : "l_mapboxVectorTile.png" ,
556- fileName : "mapboxVectorTile"
557553 } , {
558554 name : "默认风格(MVT)" ,
559555 thumbnail : "l_tileVectorLayer_normal.png" ,
@@ -599,10 +595,6 @@ var exampleConfig = {
599595 thumbnail : "l_snapAndModify.png" ,
600596 fileName : "snapAndModify"
601597 } ]
602- } ,
603- "drawPlot" : {
604- name : "动态标绘" ,
605- content : null
606598 }
607599 }
608600 } ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 < script type ="text/javascript " src ="http://cdn.bootcss.com/leaflet/1.0.3/leaflet.js "> </ script >
88 < script type ="text/javascript " src ="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js "> </ script >
99 < script type ="text/javascript " src ="http://iclient.supermapol.com/libs/osmbuildings/OSMBuildings-Leaflet.js "> </ script >
10+ < script type ="text/javascript " src ="../../dist/iclient9-leaflet.min.js "> </ script >
1011</ head >
1112< body style =" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0; ">
1213< div id ="map " style ="margin:0 auto;width: 100%;height: 100% "> </ div >
1617 zoom : 16
1718 } ) ;
1819
19- L . tileLayer ( 'https://{s}.tiles.mapbox.com/v3/osmbuildings.kbpalbpk/{z}/{x}/{y}.png' , {
20- attribution : 'Imagery © <a href="http://mapbox.com" target="_blank">Mapbox</a>'
21- } ) . addTo ( map ) ;
20+ var url = "http://support.supermap.com.cn:8090/iserver/services/map-china400/rest/maps/China" ;
21+ L . supermap . tiledMapLayer ( url ) . addTo ( map ) ;
2222
2323 loadData ( ) ;
2424
Original file line number Diff line number Diff line change @@ -494,11 +494,6 @@ var exampleConfig = {
494494 thumbnail : "cartoCSS_naturalStyle.png" ,
495495 fileName : "cartoCSS_naturalStyle"
496496 } ,
497- {
498- name : "MapBox矢量瓦片" ,
499- thumbnail : "mapboxVectorLayer.png" ,
500- fileName : "mapboxVectorLayer"
501- } ,
502497 {
503498 name : "默认风格(MVT)" ,
504499 thumbnail : "mvtVectorLayer.png" ,
@@ -555,10 +550,6 @@ var exampleConfig = {
555550 thumbnail : "dragFeatures.png" ,
556551 fileName : "dragFeatures"
557552 } ]
558- } ,
559- "drawPlot" : {
560- name : "动态标绘" ,
561- content : null
562553 }
563554 }
564555 } ,
You can’t perform that action at this time.
0 commit comments