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

A note for software archeologists - working with Leaflet 0.77 and vector tiles in production #89

Open
do-me opened this issue Oct 16, 2024 · 0 comments

Comments

@do-me
Copy link

do-me commented Oct 16, 2024

For anyone reading this: chances are that for some reason you're still using Leaflet 0.77 and looking for a more performant way to display lots of points or similar in a piece of legacy software (of course you considered upgrading to Leaflet >1 but you can't for some reason).

We were facing this exact challenge. This plugin is the only one we found that actually works! We do use it in a piece of legacy software with Postgres and a tile server plugin and are quite happy with it after all. It's performant and the only issues we have with it are the below:

  • On the edges of the tiles, the displayed elements (e.g. points) are cut off. But it's a minor inconvenience and only happens when the geometries are bigger than the tiles or right on the edges.
image
  • When the IDs in the data are not unique, tooltips behave weirdly. Just keep this in mind.
  • You need to use the custom style syntax and obviously cannot use modern JSON-based vector tile styles like this

Maybe this note will save someone some time and energy at some point. If so, feel free to let me know about your project 😄

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