[openstreetmap/openstreetmap-website] Add transportation map key for opnvkarte (PR #4371)

Holger Jeromin notifications at github.com
Mon Nov 27 06:56:57 UTC 2023


@HolgerJeromin commented on this pull request.



> @@ -70,3 +70,10 @@ cyclemap:
   - { min_zoom: 14, max_zoom: 19, name: bicycle_shop, image: bicycle_shop.png }
   - { min_zoom: 14, max_zoom: 19, name: bicycle_parking, image: bicycle_parking.png }
   - { min_zoom: 16, max_zoom: 19, name: toilets, image: toilets.png }
+opnvkarte:
+  - { min_zoom: 6, name: rail, source: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAECAIAAABOYIsRAAAAF0lEQVQoz2Nsa2tjGKyAiWEQg1HHkQsA43UBmpvJuFsAAAAASUVORK5CYII=" }

Perhaps we could use svgs here for easier changeing?

`"data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><rect width="300" height="100" style="fill:rgb(0,0,255)" /></svg>"`


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

Message ID: <openstreetmap/openstreetmap-website/pull/4371/review/1749720999 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231126/c26daff4/attachment.htm>


More information about the rails-dev mailing list