projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78bb2b2
)
Place GPS tiles in the overlayPane
author
Tom Hughes
<tom@compton.nu>
Thu, 5 Jan 2017 08:45:59 +0000
(08:45 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 5 Jan 2017 08:45:59 +0000
(08:45 +0000)
app/assets/javascripts/leaflet.map.js
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/leaflet.map.js
b/app/assets/javascripts/leaflet.map.js
index 5a0c5521d2a8942ffdb985ca509781e1ac6018a0..380955c363fcd2b06b75bb04180ef8218f221b7b 100644
(file)
--- 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")
});