Utilisation de cartes OSM de suède

recurrent
echarp 8 years ago
parent f35d026194
commit 85cbc6aea5
  1. 4
      app/assets/javascripts/maps.js.coffee
  2. 4
      config/locales/models/en.yml

@ -2,7 +2,7 @@ $(document).ready ->
$('.maps #map').each ->
map = L.map 'map'
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',
L.tileLayer('http://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png',
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a>'
).addTo map
@ -22,7 +22,7 @@ $(document).ready ->
map = L.map('map').setView [coord[0], coord[1]], 16
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',
L.tileLayer('http://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png',
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a>'
).addTo map

@ -33,7 +33,7 @@ en:
inseecode: INSEE code
regioncode: Region code
lug:
related_region: Region
region: Region
department: Department
url: Web address
city: City
@ -44,7 +44,7 @@ en:
description: Description
address: Address
city: City
related_region: Region
region: Region
locality: Scope
url: URL
contact: Contact

Loading…
Cancel
Save