[openstreetmap/openstreetmap-website] Directions route output module (PR #5913)
Anton Khorev
notifications at github.com
Wed Apr 9 18:56:30 UTC 2025
@AntonKhorev commented on this pull request.
> + row
+ .on("mouseenter", function () {
+ highlight
+ .setLatLngs(lineseg)
+ .addTo(map);
+ })
+ .on("mouseleave", function () {
+ map.removeLayer(highlight);
+ });
+ }
+
+ const blob = new Blob([JSON.stringify(polyline.toGeoJSON())], { type: "application/json" });
+ URL.revokeObjectURL(downloadURL);
+ downloadURL = URL.createObjectURL(blob);
+
+ $("#directions_content").append(`<p class="text-center"><a href="${downloadURL}" download="${
Yes, it should. Updated.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5913#discussion_r2035950785
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5913/review/2754459292 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250409/bb0ab4d8/attachment.htm>
More information about the rails-dev
mailing list