mapbox常用底图瓦片地址
1.高德
style: {
"version": 8,
"sources": {
"raster-tiles": {
"type": "raster",
'tiles': [
// wprd0{1-4}
// scl=1&style=7 为矢量图(含路网和注记)
// scl=2&style=7 为矢量图(含路网但不含注记)
// scl=1&style=6 为影像底图(不含路网,不含注记)
// scl=2&style=6 为影像底图(不含路网、不含注记)
// scl=1&style=8 为影像路图(含路网,含注记)
// scl=2&style=8 为影像路网(含路网,不含注记)
"http://wprd01.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=2&style=6"
],
"tileSize": 256
},
"raster-mark": {
"type": "raster",
'tiles': [
"http://wprd01.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=8"
],
"tileSize": 256
}
},
"layers": [{
"id": "simple-tiles",
"type": "raster",
"source": "raster-tiles",
"minzoom": 0,
// "maxzoom": 18
},
{
"id": "simple-mark",
"type": "raster",
"source": "raster-mark",
"minzoom": 0,
// "maxzoom": 18
}]
},
2.天地图
style: {
"version": 8,
"sources": {
"raster-tiles": {
"type": "raster",
'tiles': [
// 使用需申请token
'http://t0.tianditu.gov.cn/vec_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=vec&tileMatrixSet=w&TileMatrix={z}&TileRow={y}&TileCol={x}&style=default&format=tiles&tk=<your token>'],
"tileSize": 256
},
"raster-mark": {
"type": "raster",
'tiles': [
'http://t0.tianditu.gov.cn/cva_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=vec&tileMatrixSet=w&TileMatrix={z}&TileRow={y}&TileCol={x}&style=default&format=tiles&tk=<your token>'
],
"tileSize": 256
}
},
"layers": [{
"id": "simple-tiles",
"type": "raster",
"source": "raster-tiles",
"minzoom": 0,
// "maxzoom": 18
},
{
"id": "simple-mark",
"type": "raster",
"source": "raster-mark",
"minzoom": 0,
// "maxzoom": 18
}]
},
3.bingmap
style: {
"version": 8,
"sources": {
"raster-tiles": {
"type": "raster",
'tiles': [
// bingmap 矢量地图
// 'http://ak.dynamic.t0.tiles.virtualearth.net/comp/ch/{quadkey}?mkt=zh-CN&it=G,L&shading=hill&og=819&n=z'
// bingmap 卫星影像
'http://ak.dynamic.t0.tiles.virtualearth.net/comp/ch/{quadkey}?mkt=zh-CN&it=A,G,L&og=819&n=z',],
"tileSize": 256
}
},
"layers": [{
"id": "simple-tiles",
"type": "raster",
"source": "raster-tiles",
"minzoom": 0,
// "maxzoom": 18
}]
},