mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-30 23:40:33 +01:00
Merge pull request #172 from pjsier/fix/insecure-assets
Fix insecure asset loading
This commit is contained in:
commit
36def799c0
2 changed files with 7 additions and 22 deletions
|
@ -3,25 +3,25 @@
|
||||||
"id": "klokantech-basic",
|
"id": "klokantech-basic",
|
||||||
"title": "Klokantech Basic",
|
"title": "Klokantech Basic",
|
||||||
"url": "https://rawgit.com/openmaptiles/klokantech-basic-gl-style/master/style.json",
|
"url": "https://rawgit.com/openmaptiles/klokantech-basic-gl-style/master/style.json",
|
||||||
"thumbnail": "http://maputnik.com/thumbnails/klokantech-basic.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/klokantech-basic.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "dark-matter",
|
"id": "dark-matter",
|
||||||
"title": "Dark Matter",
|
"title": "Dark Matter",
|
||||||
"url": "https://rawgit.com/openmaptiles/dark-matter-gl-style/master/style.json",
|
"url": "https://rawgit.com/openmaptiles/dark-matter-gl-style/master/style.json",
|
||||||
"thumbnail": "http://maputnik.com/thumbnails/dark-matter.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/dark-matter.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "positron",
|
"id": "positron",
|
||||||
"title": "Positron",
|
"title": "Positron",
|
||||||
"url": "https://rawgit.com/openmaptiles/positron-gl-style/master/style.json",
|
"url": "https://rawgit.com/openmaptiles/positron-gl-style/master/style.json",
|
||||||
"thumbnail": "http://maputnik.com/thumbnails/positron.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/positron.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "osm-bright",
|
"id": "osm-bright",
|
||||||
"title": "OSM Bright",
|
"title": "OSM Bright",
|
||||||
"url": "https://rawgit.com/openmaptiles/osm-bright-gl-style/master/style.json",
|
"url": "https://rawgit.com/openmaptiles/osm-bright-gl-style/master/style.json",
|
||||||
"thumbnail": "http://maputnik.com/thumbnails/osm-bright.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/osm-bright.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "osm-liberty",
|
"id": "osm-liberty",
|
||||||
|
@ -39,24 +39,18 @@
|
||||||
"id": "mapbox-satellite",
|
"id": "mapbox-satellite",
|
||||||
"title": "Mapbox Satellite",
|
"title": "Mapbox Satellite",
|
||||||
"url": "https://rawgit.com/mapbox/mapbox-gl-styles/master/styles/satellite-v9.json",
|
"url": "https://rawgit.com/mapbox/mapbox-gl-styles/master/styles/satellite-v9.json",
|
||||||
"thumbnail": "http://maputnik.com/thumbnails/mapbox-satellite.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/mapbox-satellite.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "mapbox-bright",
|
"id": "mapbox-bright",
|
||||||
"title": "Mapbox Bright",
|
"title": "Mapbox Bright",
|
||||||
"url": "https://rawgit.com/mapbox/mapbox-gl-styles/master/styles/bright-v9.json",
|
"url": "https://rawgit.com/mapbox/mapbox-gl-styles/master/styles/bright-v9.json",
|
||||||
"thumbnail": "http://maputnik.com/thumbnails/mapbox-bright.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/mapbox-bright.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "mapbox-basic",
|
"id": "mapbox-basic",
|
||||||
"title": "Mapbox Basic",
|
"title": "Mapbox Basic",
|
||||||
"url": "https://rawgit.com/mapbox/mapbox-gl-styles/master/styles/basic-v9.json",
|
"url": "https://rawgit.com/mapbox/mapbox-gl-styles/master/styles/basic-v9.json",
|
||||||
"thumbnail": "http://maputnik.com/thumbnails/mapbox-basic.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "tilezen",
|
|
||||||
"title": "Tilezen",
|
|
||||||
"url": "https://rawgit.com/lukasmartinelli/tilezen-gl-style/master/style.json",
|
|
||||||
"thumbnail": "http://maputnik.com/thumbnails/tilezen.png"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -8,14 +8,5 @@
|
||||||
"type": "vector",
|
"type": "vector",
|
||||||
"url": "https://free.tilehosting.com/data/v3.json?key={key}",
|
"url": "https://free.tilehosting.com/data/v3.json?key={key}",
|
||||||
"title": "OpenMapTiles"
|
"title": "OpenMapTiles"
|
||||||
},
|
|
||||||
"tilezen": {
|
|
||||||
"type": "vector",
|
|
||||||
"tiles": [
|
|
||||||
"http://tile.mapzen.com/mapzen/vector/v1/{layers}/{z}/{x}/{y}.pbf?api_key=mapzen-RVcyVL7"
|
|
||||||
],
|
|
||||||
"minZoom": 0,
|
|
||||||
"maxZoom": 15,
|
|
||||||
"title": "Mapzen Vector Tile Service"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue