{ "id": "123", "version": "0.1.0", "title": "Map Name", "likes": 1, "description": "Map Description", "scrollwheel": true, "legends": true, "url": null, "map_provider": "leaflet", "bounds": [ [41.8063, -136.443], [61.3669, -52.2024] ], "center": "[52.22220172143765,-94.32258618606235]", "zoom": 2, "updated_at": "2017-09-29T14:18:35+02:00", "layers": [{ "options": { "default": true, "url": "http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png", "subdomains": "abcd", "minZoom": "0", "maxZoom": "18", "name": "Positron", "className": "positron_rainbow_labels", "attribution": "\u00a9 OpenStreetMap contributors \u00a9 CARTO", "labels": { "url": "http://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png" }, "urlTemplate": "http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png" }, "infowindow": null, "tooltip": null, "id": "daff8195-177f-4ba7-93d0-1c4b4d9e1959", "order": 0, "type": "tiled" }, { "type": "layergroup", "options": { "user_name": "username", "maps_api_template": "http://{user}.localhost.lan:8181", "sql_api_template": "http://{user}.localhost.lan:8080", "tiler_protocol": "http", "tiler_domain": "localhost.lan", "tiler_port": "8181", "sql_api_protocol": "http", "sql_api_domain": "localhost.lan", "sql_api_endpoint": "/api/v2/sql", "sql_api_port": 8080, "filter": "mapnik", "layer_definition": { "stat_tag": "123", "version": "1.0.1", "layers": [{ "id": "f908a195-b01d-4b4b-a63c-ba3a3812a5a3", "type": "CartoDB", "infowindow": { "fields": [], "template_name": "table/views/infowindow_light", "template": "
{{{ value }}}
\n {{/value}}\n {{^value}}\nnull
\n {{/value}}\n {{/content.fields}}\n{{{ value }}}
\n {{/fields}}\n