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

Support of vectortiles #74

Open
genofire opened this issue Nov 18, 2023 · 0 comments
Open

Support of vectortiles #74

genofire opened this issue Nov 18, 2023 · 0 comments

Comments

@genofire
Copy link

genofire commented Nov 18, 2023

Is your feature request related to a problem? Please describe.

image based tiling is legacy, vectors are smaller (and has no "zoom" problem)

Describe the solution you'd like

using Leaflet.VectorGrid plugin. You must initialize a VectorGrid.Protobuf with a URL template, just like in L.TileLayers. The difference is that you should define the styling for all the features.

see https://maplibre.org/martin/42-using-with-leaflet.html

Describe alternatives you've considered

switch to another library for map like:

Additional context

We like to migrate to https://martin.maplibre.org/ as tileserver.

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

1 participant