-<% if defined?(PIWIK) %>
- PIWIK: <%= PIWIK.to_json %>,
+<% if defined?(Settings.matomo) %>
+ MATOMO: <%= Settings.matomo.to_json %>,
SEARCHING: <%= image_path("searching.gif").to_json %>,
apiUrl: function (object) {
SEARCHING: <%= image_path("searching.gif").to_json %>,
apiUrl: function (object) {
mapParams.object = {type: 'way', id: parseInt(params.way)};
} else if (params.relation) {
mapParams.object = {type: 'relation', id: parseInt(params.relation)};
mapParams.object = {type: 'way', id: parseInt(params.way)};
} else if (params.relation) {
mapParams.object = {type: 'relation', id: parseInt(params.relation)};