常用的arcgis在线地图

地图服务地址

{
name: '中国灰色版',
url: 'https://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetGray/MapServer'
},
{
name: '中国午夜版',
url: 'https://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer'
},
{
name: '中国彩色版',
url: 'https://map.geoq.cn/arcgis/rest/services/ChinaOnlineStreetWarm/MapServer'
},
{
name: '中国彩色POI版',
url: 'https://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineCommunity/MapServer'
}

// World Ocean Base Basemap
url: "https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer"

// Capital cities in Europe FeatureLayer
url: "https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/europe_country_capitals/FeatureServer/0"

 

basemap:

/tstreets, satellite, hybrid, topo, gray: dark-gray, oceans,national -geographic, terrain, osm, dark -gray -vector, gray -vector ,Streets-vector, topo-vector, streets night -vector, streets - rel ief -vector rstreets-relief -vector, s treets -naviga tion -vector*/

map使用方法:

 

map Ground使用方法

map.ground.surfaceColor = "" //更改地图的背景颜色
map.ground.opacity = 0.3 //更改地图界面的透明度
map.ground.navigationconstraint = { type: "none"} //穿透地表
map.ground.navigationconstraint = { type: "stay-above"}//只停留在地表,不能穿透

 

posted on 2021-08-17 18:00  一往无前!  阅读(2982)  评论(0编辑  收藏  举报