Change open street maps tile server url.

This commit is contained in:
Senén Rodero Rodríguez
2017-08-08 15:08:16 +02:00
parent 011ef41ae1
commit 5113fefef6
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ module MapLocationsHelper
map_center_longitude: map_location_longitude(map_location),
map_zoom: map_location_zoom(map_location),
map_tiles_attribution_selector: map_location_attribution_id(map_location),
map_tiles_provider: "//{s}.tile.osm.org/{z}/{x}/{y}.png",
map_tiles_provider: "//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
marker_editable: editable,
marker_latitude: map_location.latitude,
marker_longitude: map_location.longitude,

View File

@@ -6,7 +6,7 @@
data-map-center-longitude="<%= Setting["map_longitude"] %>"
data-map-zoom="<%= Setting["map_zoom"] %>"
data-map-tiles-attribution-selector="#admin-map-attribution"
data-map-tiles-provider="//{s}.tile.osm.org/{z}/{x}/{y}.png"
data-map-tiles-provider="//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
data-marker-editable="true"
data-marker-latitude="<%= Setting["map_latitude"] %>"
data-marker-longitude="<%= Setting["map_longitude"] %>"