From: Tom Hughes Date: Thu, 5 Jan 2017 08:45:59 +0000 (+0000) Subject: Place GPS tiles in the overlayPane X-Git-Tag: live~3672 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0ca8b0a327408045f3d4dd05532e309ce26962ab?hp=78bb2b22f155baf3c4d8e107e65225d2fe6800d7 Place GPS tiles in the overlayPane --- diff --git a/app/assets/javascripts/leaflet.map.js b/app/assets/javascripts/leaflet.map.js index 5a0c5521d..380955c36 100644 --- a/app/assets/javascripts/leaflet.map.js +++ b/app/assets/javascripts/leaflet.map.js @@ -57,6 +57,7 @@ L.OSM.Map = L.Map.extend({ this.dataLayer.options.code = 'D'; this.gpsLayer = new L.OSM.GPS({ + pane: "overlayPane", code: "G", name: I18n.t("javascripts.map.base.gps") });