X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc8751cf7af7ce0e0033c078dac064d62ab819e6..21ad851612156ce977cfefc59c90898fff72266a:/app/assets/javascripts/leaflet.share.js diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index e34d5ffdb..d58b62313 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -1,11 +1,16 @@ L.OSM.share = function (options) { - var control = L.control(options); + var control = L.control(options), + marker = L.marker([0, 0], {draggable: true}), + locationFilter = new L.LocationFilter({ + enableButton: false, + adjustButton: false + }); control.onAdd = function (map) { var $container = $('