{ "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": "
\n x\n
\n
\n {{#content.fields}}\n {{#title}}

{{title}}

{{/title}}\n {{#value}}\n

{{{ value }}}

\n {{/value}}\n {{^value}}\n

null

\n {{/value}}\n {{/content.fields}}\n
\n
\n
\n
\n", "alternative_names": {}, "width": 226, "maxHeight": 180 }, "tooltip": { "fields": [], "template_name": "tooltip_light", "template": "
\n
\n {{#fields}}\n {{#title}}\n

{{title}}

\n {{/title}}\n

{{{ value }}}

\n {{/fields}}\n
\n
", "alternative_names": {}, "maxHeight": 180 }, "legend": { "type": "none", "show_title": false, "title": "", "template": "", "visible": true, "migrated": true }, "order": 1, "visible": true, "options": { "layer_name": "gcma000b06a_eng", "cartocss": "/** simple visualization */\n\n#gcma000b06a_eng{\n polygon-fill: #FF6600;\n polygon-opacity: 0.7;\n line-color: #FFF;\n line-width: 0.5;\n line-opacity: 1;\n}", "cartocss_version": "2.1.1", "interactivity": "cartodb_id", "sql": "select * from gcma000b06a_eng", "table_name": "\"\"." } }] }, "attribution": "" } }, { "options": { "default": true, "url": "http://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png", "subdomains": "abcd", "minZoom": "0", "maxZoom": "18", "attribution": "\u00a9 OpenStreetMap contributors \u00a9 CARTO", "urlTemplate": "http://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png", "type": "Tiled", "name": "Positron Labels" }, "infowindow": null, "tooltip": null, "id": "0d6a8b5e-0db8-40b3-9650-eeb77eb35be6", "order": 2, "type": "tiled" }], "overlays": [{ "type": "share", "order": 2, "options": { "display": true, "x": 20, "y": 20 }, "template": "" }, { "type": "search", "order": 3, "options": { "display": true, "x": 60, "y": 20 }, "template": "" }, { "type": "zoom", "order": 6, "options": { "display": true, "x": 20, "y": 20 }, "template": "+ -" }, { "type": "loader", "order": 8, "options": { "display": true, "x": 20, "y": 150 }, "template": "
" }, { "type": "logo", "order": 9, "options": { "display": true, "x": 10, "y": 40 }, "template": "" }], "prev": null, "next": null, "transition_options": { "time": 0 } }