mirror of
https://github.com/maputnik/editor.git
synced 2026-01-06 21:40:01 +00:00
Implement adding public and custom sources
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
[
|
||||
{
|
||||
"id": "mapbox-streets",
|
||||
{
|
||||
"mapbox-streets": {
|
||||
"type": "vector",
|
||||
"url": "mapbox://mapbox.mapbox-streets-v7",
|
||||
"title": "Mapbox Streets"
|
||||
},
|
||||
{
|
||||
"id": "tilezen",
|
||||
"tilezen": {
|
||||
"type": "vector",
|
||||
"tiles": [
|
||||
"http://tile.mapzen.com/mapzen/vector/v1/{layers}/{z}/{x}/{y}.pbf?api_key=mapzen-RVcyVL7"
|
||||
@@ -15,16 +13,14 @@
|
||||
"maxZoom": 15,
|
||||
"title": "Mapzen Vector Tile Service"
|
||||
},
|
||||
{
|
||||
"id": "openmaptiles",
|
||||
"openmaptiles": {
|
||||
"type": "vector",
|
||||
"url": "https://free.tilehosting.com/data/v3.json?key=25ItXg7aI5wurYDtttD",
|
||||
"title": "OpenMapTiles CDN"
|
||||
},
|
||||
{
|
||||
"id": "swissnames-landscape",
|
||||
"swissnames-landscape": {
|
||||
"type": "geojson",
|
||||
"data": "http://swissnames.lukasmartinelli.ch/data/landscape.geojson",
|
||||
"title": "Landscape Names GeoJSON"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user