https://github.com/maptalks/raster-collection
A collection of raster tile services
https://github.com/maptalks/raster-collection
Last synced: about 1 year ago
JSON representation
A collection of raster tile services
- Host: GitHub
- URL: https://github.com/maptalks/raster-collection
- Owner: maptalks
- License: cc0-1.0
- Created: 2016-08-02T03:43:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T13:25:49.000Z (over 8 years ago)
- Last Synced: 2025-04-19T19:53:31.599Z (about 1 year ago)
- Size: 2.35 MB
- Stars: 100
- Watchers: 8
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# raster-collection
A collection of raster tile service's urlTemplates and subDomains.
[What is urlTemplate and subdomains?](http://leafletjs.com/reference.html#url-template) e.g.
```javascript
'http://{s}.somedomain.com/blabla/{z}/{x}/{y}.png'
```
{s} means one of the available subdomains of the tile service, (used sequentially to help with browser parallel requests per domain limitation), {z} — zoom level, {x} and {y} — tile coordinates.
# World
## openstreetmap.org
* [Open Street Map Standard](http://www.openstreetmap.org)

```javascript
'urlTemplate' : 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c'],
'attribution' : '© OpenStreetMap contributors'
```
https
```javascript
'urlTemplate' : 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c'],
'attribution' : '© OpenStreetMap contributors'
```
* [Open Street Map Bicycle](http://www.openstreetmap.org/#layers=C)

```javascript
'urlTemplate' : 'http://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c'],
'attribution' : '© OpenStreetMap contributors'
```
* [Open Street Map Transport](http://www.openstreetmap.org/#layers=T)

```javascript
'urlTemplate' : 'http://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c'],
'attribution' : '© OpenStreetMap contributors'
```
* [Open Street Map Humanitarian](http://www.openstreetmap.org/#layers=H)

```javascript
'urlTemplate' : 'http://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c'],
'attribution' : '© OpenStreetMap contributors'
```
## carto.com
* [Carto.com Light](http://www.carto.com)

```javascript
'urlTemplate' : 'http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c','d','e'],
'attribution' : '© OpenStreetMap contributors, © CARTO'
```
https
```javascript
'urlTemplate' : 'https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c','d'],
```
* [Carto.com Light No-Label](http://www.carto.com)

```javascript
'urlTemplate' : 'http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c','d','e'],
'attribution' : '© OpenStreetMap contributors, © CARTO'
```
https
```javascript
'urlTemplate' : 'https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_nolabels/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c','d'],
```
* [Carto.com Dark](http://www.carto.com)

```javascript
'urlTemplate' : 'http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c','d','e'],
'attribution' : '© OpenStreetMap contributors, © CARTO'
```
https
```javascript
'urlTemplate' : 'https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c','d'],
```
* [Carto.com Dark No-Label](http://www.carto.com)

```javascript
'urlTemplate' : 'http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c','d','e'],
'attribution' : '© OpenStreetMap contributors, © CARTO'
```
https
```javascript
'urlTemplate' : 'https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_nolabels/{z}/{x}/{y}.png',
'subdomains' : ['a','b','c','d'],
```
# China
## ditu.google.cn
* [Google Standard](http://ditu.google.cn)

```javascript
'urlTemplate' : 'http://www.google.cn/maps/vt?pb=!1m5!1m4!1i{z}!2i{x}!3i{y}!4i256!2m3!1e0!2sm!3i342009817!3m9!2sen-US!3sCN!5e18!12m1!1e47!12m3!1e37!2m1!1ssmartmaps!4e0&token=32965',
'attribution' : '© Google'
```
## map.baidu.com (Projection : **baidu**)
* [Baidu Standard](http://map.baidu.com)

```javascript
'urlTemplate' : 'http://online{s}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles=pl&scaler=1&p=1',
'subdomains' : [0,1,2,3,4,5,6,7,8,9],
'attribution' : '© Baidu'
```
https
```javascript
'urlTemplate' : 'https://gss{s}.bdstatic.com/8bo_dTSlRsgBo1vgoIiO_jowehsv/tile/?qt=tile&x={x}&y={y}&z={z}&styles=pl&scaler=1&udt=20170927',
'subdomains':[0, 1, 2, 3]
```
* [Baidu Road](http://map.baidu.com)

```javascript
'urlTemplate' : 'http://online{s}.map.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=sl&v=020',
'subdomains' : [0,1,2,3,4,5,6,7,8,9],
'attribution' : '© Baidu'
```
* [Baidu Traffic](http://map.baidu.com)

```javascript
'urlTemplate' : function (x, y, z) {
return 'http://its.map.baidu.com:8002/traffic/TrafficTileService?label=web2D&v=081&level=' + z + '&y=' + y + '&x=' + x + '&time=' + new Date().getTime();
},
'attribution' : '© Baidu'
```
* [Baidu Satelite](http://map.baidu.com)

```javascript
'urlTemplate' : 'http://shangetu{s}.map.bdimg.com/it/u=x={x};y={y};z={z};v=009;type=sate&fm=46',
'subdomains' : [0,1,2,3,4,5,6,7,8,9],
'attribution' : '© Baidu'
```
* [Baidu Custom](http://map.baidu.com)
Baidu Custom's style is decided by **customid** in URL, screen shots for different **customid** is as below:
```javascript
'urlTemplate' : 'http://api{s}.map.bdimg.com/customimage/tile?&x={x}&y={y}&z={z}&scale=1&customid={customid}',
'subdomains' : [0, 1, 2],
'attribution' : '© Baidu'
```
dark
midnight
grayscale
hardedge
light
redalert
googlelite
grassgreen
pink
darkgreen
bluish
## gaode.com
* [Gaode Standard](http://www.gaode.com)

```javascript
'urlTemplate' : 'http://webrd{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}',
'subdomains' : ['01','02','03','04'],
'attribution' : '© Gaode.com'
```
* [Gaode Satelite](http://www.gaode.com)

```javascript
'urlTemplate' : 'http://webst{s}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}',
'subdomains' : ['01','02','03','04'],
'attribution' : '© Gaode.com'
```
* [Gaode Road](http://www.gaode.com)

```javascript
'urlTemplate' : 'http://webst{s}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8',
'subdomains' : ['01','02','03','04'],
'attribution' : '© Gaode.com'
```
* [Gaode Traffic](http://www.gaode.com)

```javascript
'urlTemplate' : function (x, y, z) {
return 'http://tm.amap.com/trafficengine/mapabc/traffictile?v=1.0&;t=1&z=' + z + '&y=' + y + '&x=' + x + '&t=' + new Date().getTime();
},
'attribution' : '© Gaode.com'
```
## tianditu
* [Tianditu Standard Mercator](http://www.tianditu.cn)

```javascript
'urlTemplate' : 'http://t{s}.tianditu.com/DataServer?T=vec_w&x={x}&y={y}&l={z}',
'subdomains' : ['1','2','3','4','5'],
'attribution' : '© 天地图'
```
https
```javascript
urlTemplate:'https://t{s}.tianditu.com/DataServer?T=cva_c&x={x}&y={y}&l={z}',
subdomains:['1', '2', '3', '4', '5']
```
* [Tianditu Label Mercator](http://www.tianditu.cn)

```javascript
'urlTemplate' : 'http://t{s}.tianditu.com/DataServer?T=cva_w&x={x}&y={y}&l={z}',
'subdomains' : ['1','2','3','4','5'],
'attribution' : '© 天地图'
```
* [Tianditu Standard LonLat](http://www.tianditu.cn) (Projection : **EPSG:4326**)

```javascript
'tileSystem' : [1, -1, -180, 90],
'urlTemplate' : 'http://t{s}.tianditu.com/DataServer?T=vec_c&x={x}&y={y}&l={z}',
'subdomains' : ['1','2','3','4','5'],
'attribution' : '© 天地图'
```
* [Tianditu Label LonLat](http://www.tianditu.cn) (Projection : **EPSG:4326**)

```javascript
'tileSystem' : [1, -1, -180, 90],
'urlTemplate' : 'http://t{s}.tianditu.com/DataServer?T=cva_c&x={x}&y={y}&l={z}',
'subdomains' : ['1','2','3','4','5'],
'attribution' : '© 天地图'
```
* [Tianditu English](http://en.tianditu.com/map/index.html) (Projection : **EPSG:4326**)

```javascript
'urlTemplate' : 'http://t{s}.tianditu.cn/eva_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=eva&tileMatrixSet=c&TileMatrix={z}&TileRow={y}&TileCol={x}&style=default&format=tiles',
'subdomains' : ['1','2','3','4','5'],
'attribution' : '© Tianditu'
```
* [Tianditu English Labels](http://en.tianditu.com/map/index.html) (Projection : **EPSG:4326**)

```javascript
'urlTemplate' : 'http://t{s}.tianditu.cn/vec_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=vec&tileMatrixSet=c&TileMatrix={z}&TileRow={y}&TileCol={x}&style=default&format=tiles',
'subdomains' : ['1','2','3','4','5'],
'attribution' : '© Tianditu'
```