[openstreetmap/openstreetmap-website] Switch to inline colourable markers (PR #5854)

Anton Khorev notifications at github.com
Fri Jul 18 15:24:29 UTC 2025


@AntonKhorev commented on this pull request.



> +MARKER_COLORS = {
+  :red => "#f6110a",
+  :green => "#9cef11",
+  :blue => "#0b8ef1"
+}.freeze

Although there is a gotcha with print css. If markers are supposed to be colored in print style, these colors need to be included there too.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5854/review/3033962356 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250718/426da371/attachment.htm>


More information about the rails-dev mailing list