]> git.openstreetmap.org Git - rails.git/commitdiff
Place GPS tiles in the overlayPane
authorTom Hughes <tom@compton.nu>
Thu, 5 Jan 2017 08:45:59 +0000 (08:45 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 5 Jan 2017 08:45:59 +0000 (08:45 +0000)
app/assets/javascripts/leaflet.map.js

index 5a0c5521d2a8942ffdb985ca509781e1ac6018a0..380955c363fcd2b06b75bb04180ef8218f221b7b 100644 (file)
@@ -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")
     });