[openstreetmap/openstreetmap-website] Figure out how to serve client-side style resources (Issue #5306)
Paul Norman
notifications at github.com
Thu Nov 7 03:08:18 UTC 2024
### Problem
With client side layers proposed as featured layers, we need to figure out how to serve the styles to the client.
### Description
We have a couple of proposed featured layers that are Maplibre GL styles. These styles consist of a style json, spritesheet, and fonts. The MapLibre style contains the URL of the spritesheet and fonts.
The style, spritesheet, and fonts are all built by various processes. Some of them (particularly fonts) may not be easily automated and they don't need to be regenerated frequently.
Some options come to mind are
- referencing an external style URL,
- including files in the repo, or
- trying to generate them at build time.
The last probably isn't an option for fonts.
I would like to avoid the situation we ended up with OpenLayers where we're compelled to keep an ancient version of software or a resource available forever.
### Screenshots
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5306
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5306 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241106/f749f02a/attachment-0001.htm>
More information about the rails-dev
mailing list