File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3333 " Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> " ;
3434
3535
36- // 方式一:1.调用 maplibregl .supermap.initMap,根据 SuperMap iServer 地图服务的地图信息,创建地图和底图
36+ // 方式一:1.调用 mapboxgl .supermap.initMap,根据 SuperMap iServer 地图服务的地图信息,创建地图和底图
3737 mapboxgl . supermap
3838 . initMap ( host + '/iserver/services/map-china400/rest/maps/China' , {
3939 mapOptions : {
Original file line number Diff line number Diff line change 3434 < script type ="text/javascript ">
3535 var host = window . isLocal ? window . server : 'https://iserver.supermap.io' ;
3636
37- // 方式一:1.调用 maplibregl .supermap.initMap,根据 SuperMap iServer 地图服务的地图信息,创建地图和底图
37+ // 方式一:1.调用 mapboxgl .supermap.initMap,根据 SuperMap iServer 地图服务的地图信息,创建地图和底图
3838 mapboxgl . supermap . initMap ( host + '/iserver/services/map-world/rest/maps/World' , {
3939 mapOptions : {
4040 zoom : 2
Original file line number Diff line number Diff line change 3434 < script type ="text/javascript ">
3535 var host = ( window . isLocal ? window . server : "https://iserver.supermap.io" ) ;
3636
37- // 方式一:1.调用 maplibregl .supermap.initMap,根据 SuperMap iServer 地图服务的地图信息,创建地图和底图
37+ // 方式一:1.调用 mapboxgl .supermap.initMap,根据 SuperMap iServer 地图服务的地图信息,创建地图和底图
3838 mapboxgl . supermap . initMap ( host + '/iserver/services/map-mvt-landuse/rest/maps/landuse' , {
3939 type : 'vector-tile' ,
4040 mapOptions : {
You can’t perform that action at this time.
0 commit comments