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,7 +89,7 @@ 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",
@ -99,7 +99,7 @@ The Static Maps API allows for multiple layers of incorporation into the `MapCon
"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: