From cd00680c807f9c5eaf0d459eefed2e2fd61193c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Matall=C3=ADn?= Date: Wed, 28 Oct 2015 17:00:22 +0100 Subject: [PATCH] docs: static maps --- docs/static_maps_api.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/static_maps_api.md b/docs/static_maps_api.md index ff97673b..a806b8bb 100644 --- a/docs/static_maps_api.md +++ b/docs/static_maps_api.md @@ -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: