From a0814e4836e3555a46fdb71e64defa974cbdfc30 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 09 Feb 2019 14:54:11 +0000 Subject: [PATCH] l10n: Change "tram" to "vehicle" as bus schedules are also available --- map.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/map.js b/map.js index 2db053a..a8f6b2a 100644 --- a/map.js +++ b/map.js @@ -947,7 +947,7 @@ geolocation_button.className = 'hidden'; } - geolocation = new ol.Geolocation(); + geolocation = new ol.Geolocation({projection: 'EPSG:3857'}); geolocation.on('change:position', function() { var coordinates = geolocation.getPosition(); geolocation_feature.setGeometry(coordinates ? new ol.geom.Point(coordinates) : null); -- Gitblit v1.9.1