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** **Basemaps**
```javascript ```javascript
{ {
"type": "http", "type": "http",
"options": { "options": {
"urlTemplate": "http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png", "urlTemplate": "http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png",
"subdomains": [ "subdomains": [
"a", "a",
"b", "b",
"c" "c"
] ]
} }
}, }
``` ```
By manipulating the `"urlTemplate"` custom basemaps can be used in generating static images. Supported map types for the Static Maps API are: By manipulating the `"urlTemplate"` custom basemaps can be used in generating static images. Supported map types for the Static Maps API are: