X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d8c1b28fde32414c9fd7f212dff8954942ef0b5c..5d3dd2ff6483b37e5c139e093017649b1e1e1990:/app/assets/javascripts/leaflet.map.js diff --git a/app/assets/javascripts/leaflet.map.js b/app/assets/javascripts/leaflet.map.js index 75396fd73..b2d4abcb7 100644 --- a/app/assets/javascripts/leaflet.map.js +++ b/app/assets/javascripts/leaflet.map.js @@ -258,15 +258,15 @@ L.OSM.Map = L.Map.extend({ this._object = object; this._objectLayer = L.featureGroup().addTo(this); - + L.circleMarker(object.latLng, haloStyle).addTo(this._objectLayer); - + L.marker(object.latLng, { icon: object.icon, opacity: 1, interactive: true }).addTo(this._objectLayer); - + if (callback) callback(this._objectLayer.getBounds()); } else { // element or changeset handled by L.OSM.DataLayer var map = this;