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

Generate thumbnails for saved styles #22

Open
achou11 opened this issue Apr 18, 2022 · 1 comment
Open

Generate thumbnails for saved styles #22

achou11 opened this issue Apr 18, 2022 · 1 comment

Comments

@achou11
Copy link
Member

achou11 commented Apr 18, 2022

Requires using either https://github.com/naturalatlas/mapbox-gl-native-node or https://github.com/maplibre/maplibre-gl-native (preferred)

Approach would be to create a general endpoint for the client to request static maps, where they can specify certain parameters such as:

  • style
  • dimensions of image
  • zoom
  • center
  • bearing
  • pitch
@achou11
Copy link
Member Author

achou11 commented Aug 9, 2022

maplibre technically supports node bindings but hasn't published to npm just yet (requires maplibre/maplibre-native#378 and then an official release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant