//= require leaflet
//= require leaflet.osm
-//= require i18n/translations
+//= require i18n
+//= require i18n/embed
window.onload = function () {
if (navigator.languages) {
}
var thunderforestOptions = {
-<% if defined?(THUNDERFOREST_KEY) %>
- apikey: <%= THUNDERFOREST_KEY.to_json %>
+<% if Settings.key?(:thunderforest_key) %>
+ apikey: <%= Settings.thunderforest_key.to_json %>
<% end %>
};