[openstreetmap/openstreetmap-website] Migrate `/export/embed.html` from leaflet to maplibre (PR #6804)

Frank Elsinga notifications at github.com
Thu Mar 26 13:55:32 UTC 2026


@CommanderStorm commented on this pull request.



>  
-    map.on("moveend", this._update, this);
+  const bbox = (args.get("bbox") || "-180,-90,180,90").split(",");
+  map.fitBounds([[bbox[0], bbox[1]], [bbox[2], bbox[3]]], { animate: false });

Ok, I implemented it -> https://github.com/maplibre/maplibre-gl-js/pull/7332
Will be released in our next, sheduled release.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6804?email_source=notifications&email_token=AAK2OLIQSLQGT2GF3CBLV7D4SUZFJA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMBRGQZTQMRVGQY2M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS6XA4S7OJSXM2LFO5PW433UNFTGSY3BORUW63TTL5RWY2LDNM#discussion_r2995085729
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6804/review/4014382541 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260326/d3b06626/attachment-0001.htm>


More information about the rails-dev mailing list