[openstreetmap/openstreetmap-website] Fixed displacing points specified from context menu (PR #4904)
Nenad Vujicic
notifications at github.com
Thu Aug 8 18:06:19 UTC 2024
@nenad-vujicic commented on this pull request.
> @@ -51,7 +43,7 @@ OSM.Directions = function (map) {
select.append("<option value='" + i + "'>" + I18n.t("javascripts.directions.engines." + engine.id) + "</option>");
});
- function Endpoint(input, iconUrl, dragCallback, geocodeCallback) {
+ function Endpoint(input, iconUrl) {
I apologize for the undoing, I thought it's just simplifying .. I returned using callback for calling getRoute, so, Endpoint can be pulled out now to separate module.
Thanks,
Nenad.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4904#discussion_r1710031872
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4904/review/2228544427 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240808/908a86da/attachment.htm>
More information about the rails-dev
mailing list