[openstreetmap/openstreetmap-website] Enable exporting direction paths (PR #5694)

Tom Hughes notifications at github.com
Thu Feb 20 17:14:12 UTC 2025


@tomhughes commented on this pull request.



> @@ -36,6 +36,9 @@ OSM.Directions = function (map) {
     OSM.DirectionsEndpoint(map, $("input[name='route_to']"), OSM.MARKER_RED, endpointDragCallback, endpointChangeCallback)
   ];
 
+  const exportGroup = L.layerGroup([...endpoints.map(m => m.marker), polyline]);
+  let downloadURL = null;
+

No that's fine.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5694#discussion_r1964037100
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5694/review/2630636552 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250220/f6bc6bfa/attachment.htm>


More information about the rails-dev mailing list