]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.map.js
Place GPS tiles in the overlayPane
[rails.git] / 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")
     });