Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to serve client-side style resources #1172

Open
pnorman opened this issue Nov 7, 2024 · 1 comment
Open

Figure out how to serve client-side style resources #1172

pnorman opened this issue Nov 7, 2024 · 1 comment

Comments

@pnorman
Copy link
Collaborator

pnorman commented Nov 7, 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

@tomhughes
Copy link
Member

As written this is really largely an operational question and not something that can/should be addressed here.

@tomhughes tomhughes transferred this issue from openstreetmap/openstreetmap-website Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants