docs: static maps

This commit is contained in:
Carlos Matallín 2015-10-28 17:00:22 +01:00
parent cc0ebf70a7
commit cd00680c80

View File

@ -89,17 +89,17 @@ The Static Maps API allows for multiple layers of incorporation into the `MapCon
**Basemaps**
```javascript
{
"type": "http",
"options": {
"urlTemplate": "http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png",
"subdomains": [
"a",
"b",
"c"
]
}
},
{
"type": "http",
"options": {
"urlTemplate": "http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png",
"subdomains": [
"a",
"b",
"c"
]
}
}
```
By manipulating the `"urlTemplate"` custom basemaps can be used in generating static images. Supported map types for the Static Maps API are: