[openstreetmap/openstreetmap-website] Maplibre embeds from leaflet to maplibre (PR #6804)
Frank Elsinga
notifications at github.com
Thu Feb 12 03:27:59 UTC 2026
@CommanderStorm commented on this pull request.
>
- this._container.innerHTML =
- this._container.innerHTML
- .replace("{x}", this._map.getCenter().lat)
- .replace("{y}", this._map.getCenter().lng)
- .replace("{z}", this._map.getZoom());
+ if (args.has("marker")) {
+ const markerCoords = args.get("marker").split(",");
+ new OSM.MapLibre.Marker({color: "var(--marker-blue)"})
usually, the markers on the site are red by default.
Here it is blue.
Intentional?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6804#pullrequestreview-3788559892
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6804/review/3788559892 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260211/9b34df4d/attachment.htm>
More information about the rails-dev
mailing list