Fix insecure asset loading

This commit is contained in:
pjsier 2017-10-12 14:33:24 -05:00
parent 232b48ff62
commit c881534554
2 changed files with 9 additions and 9 deletions

View file

@ -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,24 @@
"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", "id": "tilezen",
"title": "Tilezen", "title": "Tilezen",
"url": "https://rawgit.com/lukasmartinelli/tilezen-gl-style/master/style.json", "url": "https://rawgit.com/lukasmartinelli/tilezen-gl-style/master/style.json",
"thumbnail": "http://maputnik.com/thumbnails/tilezen.png" "thumbnail": "https://maputnik.github.io/thumbnails/tilezen.png"
} }
] ]

View file

@ -12,7 +12,7 @@
"tilezen": { "tilezen": {
"type": "vector", "type": "vector",
"tiles": [ "tiles": [
"http://tile.mapzen.com/mapzen/vector/v1/{layers}/{z}/{x}/{y}.pbf?api_key=mapzen-RVcyVL7" "https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt?api_key=mapzen-RVcyVL7"
], ],
"minZoom": 0, "minZoom": 0,
"maxZoom": 15, "maxZoom": 15,