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 5a0c552..380955c 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")
     });