@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/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev