[openstreetmap/openstreetmap-website] Add Shortbread-based vector tile layer (PR #6137)

Tom Hughes notifications at github.com
Fri Jun 27 09:52:08 UTC 2025


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

I think the options for dealing with the transformation are:

* Don't set the style in the options so the maplibre map object is created with no style and then change your `onAdd` method to do `this.getMaplibreMap().setStyle(...)` after calling the super class `onAdd`
* Open a PR to maplibre-gl-js to add extend the `Map` constructor to take the transform option and pass it on to `setStyle`

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

Message ID: <openstreetmap/openstreetmap-website/pull/6137/c3012405846 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250627/d028c511/attachment.htm>


More information about the rails-dev mailing list