[openstreetmap/openstreetmap-website] Add a "tile details" view accessed from the context menu (#1472)

Minh Nguyễn notifications at github.com
Wed Apr 29 17:27:43 UTC 2026


1ec5 left a comment (openstreetmap/openstreetmap-website#1472)

> There's also questions in my mind about whether this needs rewriting for the Maplibre migration, the use of non-bootstrap styling, and adding more router.js stuff instead of using turbo. I suspect that, if these were addressed, the amount of changes to the PR would be equivalent to reimplementation from scratch.

By the way, some of the information is built into MapLibre’s debugging modes. For example, if you go to [OSM Americana](https://americanamap.org/#map=4/40.5/-94)[^console] and execute `map.showTileBoundaries = true` in the browser’s JavaScript console, each tile is overlaid with the tile boundaries, tile coordinates (which are part of the tile URL), and size (only of vector tiles). If more information is needed, that could be a feature request or plugin for MapLibre. There’s also an option to [refresh selected tiles](https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#refreshtiles), though this is only a client-side thing.

[^console]: Any MapLibre map has this capability, but only some sites expose the `Map` object for debugging in the console.

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

Message ID: <openstreetmap/openstreetmap-website/pull/1472/c4346009285 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260429/b0eb2569/attachment.htm>


More information about the rails-dev mailing list