You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

171 lines
4.4 KiB

{
"bounds": [
[
-73.8273,
-179
],
[
83.261,
179
]
],
"center": "[41, -3]",
"datasource": {
"user_name": "cartojs-test",
"maps_api_template": "https://{user}.carto.com:443",
"stat_tag": "3626e3ca-1e40-4e5c-95f8-f83b54131ddc"
},
"description": "<p>Basic test displaying points in red.</p>\n",
"options": {
"dashboard_menu": true,
"layer_selector": false,
"legends": true,
"scrollwheel": true
},
"id": "3626e3ca-1e40-4e5c-95f8-f83b54131ddc",
"layers": [
{
"id": "e7bbdf2c-8e66-49f3-b7b8-793e3a4fd6ea",
"type": "tiled",
"options": {
"default": "true",
"url": "https://cartodb-basemaps-{s}.global.ssl.fastly.net/rastertiles/voyager_nolabels/{z}/{x}/{y}.png",
"subdomains": "abcd",
"minZoom": "0",
"maxZoom": "18",
"name": "Voyager",
"className": "voyager_labels",
"attribution": "&copy; <a href=\"http://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors",
"labels": {
"url": "https://cartodb-basemaps-{s}.global.ssl.fastly.net/rastertiles/voyager_only_labels/{z}/{x}/{y}.png"
},
"urlTemplate": "https://cartodb-basemaps-{s}.global.ssl.fastly.net/rastertiles/voyager_nolabels/{z}/{x}/{y}.png"
}
},
{
"id": "b39d9e30-1a03-48d2-8734-4e700632f800",
"legends": [],
"type": "CartoDB",
"infowindow": {
"template_name": "none",
"fields": [],
"maxHeight": 180,
"template": "",
"alternative_names": {},
"width": 226,
"headerColor": {
"color": {
"fixed": "#35AAE5",
"opacity": 1
}
}
},
"tooltip": {
"fields": [],
"template_name": "none",
"template": "",
"template_type": "mustache"
},
"visible": true,
"options": {
"layer_name": "ne_10m_populated_places_simple",
"cartocss": "#layer {\n marker-width: 10;\n marker-fill: #ff0900;\n marker-fill-opacity: 1;\n marker-allow-overlap: true;\n marker-line-width: 1;\n marker-line-color: #FFFFFF;\n marker-line-opacity: 1;\n}",
"cartocss_version": "2.1.1",
"attribution": "",
"source": "a0"
}
},
{
"id": "7a5e026f-d014-43a7-b0c3-403eaabc889d",
"type": "tiled",
"options": {
"default": "true",
"url": "https://cartodb-basemaps-{s}.global.ssl.fastly.net/rastertiles/voyager_only_labels/{z}/{x}/{y}.png",
"subdomains": "abcd",
"minZoom": "0",
"maxZoom": "18",
"attribution": "&copy; <a href=\"http://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors",
"urlTemplate": "https://cartodb-basemaps-{s}.global.ssl.fastly.net/rastertiles/voyager_only_labels/{z}/{x}/{y}.png",
"type": "Tiled",
"name": "Voyager Labels"
}
}
],
"likes": 0,
"map_provider": "leaflet",
"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": "<a href=\"#zoom_in\" class=\"zoom_in\">+</a> <a href=\"#zoom_out\" class=\"zoom_out\">-</a>"
},
{
"type": "loader",
"order": 8,
"options": {
"display": true,
"x": 20,
"y": 150
},
"template": "<div class=\"loader\" original-title=\"\"></div>"
},
{
"type": "logo",
"order": 9,
"options": {
"display": true,
"x": 10,
"y": 40
},
"template": ""
}
],
"title": "001-Test",
"updated_at": "2017-10-24T11:29:21+00:00",
"user": {
"fullname": "cartojs-test",
"avatar_url": "//cartodb-libs.global.ssl.fastly.net/cartodbui/assets/unversioned/images/avatars/avatar_planet_orange.png",
"profile_url": "https://cartojs-test.carto.com"
},
"version": "3.0.0",
"widgets": [],
"zoom": 7,
"analyses": [
{
"id": "a0",
"type": "source",
"params": {
"query": "SELECT * FROM ne_10m_populated_places_simple"
},
"options": {
"table_name": "ne_10m_populated_places_simple"
}
}
]
}