[openstreetmap/openstreetmap-website] Vector maps credit is not displayed in attribution (Issue #6229)

Tom Hughes notifications at github.com
Wed Jul 23 20:14:56 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#6229)

The sticky attribution is caused by https://github.com/maplibre/maplibre-gl-leaflet/blob/b1e860b9705ee1dcb77f34d40dad829ab7ed7f82/leaflet-maplibre-gl.js#L163-L168 which for some reason does an extra attribution add when the underlying maplibre map is first loaded even though the attribution control does the same add when the layer is added.

The attribution control removes it again when the layer is removed, but maplibre doesn't, so it sticks...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6229#issuecomment-3110006712
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6229/3110006712 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250723/a723c00f/attachment.htm>


More information about the rails-dev mailing list