Commit c04fd280 authored by duminil's avatar duminil
Browse files

RegionChooser: No need for offline tiles. simstadt.jar 15MB -> 3.7MB.

parent 8e8199e4
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -8,12 +8,6 @@ proj4.defs("EPSG:31467", "+proj=tmerc +lat_0=0 +lon_0=9 +k=1 +x_0=3500000 +y_0=0
var wgs84Sphere = new ol.Sphere(6378137);
var offline_osm_layer = new ol.layer.Tile({
source: new ol.source.OSM({
url : 'data/tiles/{z}/{x}/{y}.png'
})
});
var osm_layer = new ol.layer.Tile({
source: new ol.source.OSM()
});
......@@ -82,7 +76,7 @@ var novafactory_layer = new ol.layer.Vector({
var map = new ol.Map({
target : 'map',
layers : [ offline_osm_layer, osm_layer, kml_layer, novafactory_layer, intersections_layer ],
layers : [ osm_layer, kml_layer, novafactory_layer, intersections_layer ],
interactions : ol.interaction.defaults({
keyboard : true
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment