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

Vector Tile Plugin proof of concept... #716

Closed
ibrierley opened this issue Aug 4, 2020 · 3 comments
Closed

Vector Tile Plugin proof of concept... #716

ibrierley opened this issue Aug 4, 2020 · 3 comments

Comments

@ibrierley
Copy link
Collaborator

Just for anyone looking into this, I've uploaded the code I've been fiddling with at https://github.com/ibrierley/flutter_map_vector_tiles

It currently "works", but it's a proof of concept, there are working vector tiles :). But mileage will vary, initial issues are mentioned on the readme there. Custom styling is not supported yet, just a default one, but I'm looking for suggestions a bit on that (may be good to support mapbox spec)

Hopefully some may have a play and find useful as a starting point, and feedback any thoughts (and code!). It's not documented yet, but I'll try and get round to some of that when I think it won't change too much.

It would be good if anyone else wants to get involved, as it's not a trivial project :).

@moovida
Copy link
Contributor

moovida commented Aug 5, 2020

Great stuff you have here, thanks a lot, will sure take it for a testride. I still have your geometries editor project in my tasklist. :-D

BTW, even if you think the png generation is not so nice, think that the space saved with vector tiles also for offline use are amazing! I think I have a vector tiles mbtiles database somewhere, covering half of Europe in around 8 giga (i think, going by memory). I am missing it since my last computer break, but if I am able to recover it, I will test that and share it if there is interest.

@Cajuteq
Copy link

Cajuteq commented Sep 2, 2022

how does it compares to https://github.com/greensopinion/flutter-vector-map-tiles ? are both projects concurrents ? (maybe you could join forces)

@ibrierley
Copy link
Collaborator Author

Heya, I would certainly go for the one you have linked. It's a lot better written and further developed supporting mapbox styles etc (and works!). Just be aware that all vector tiles in Flutter typically have a bit of a performance hit due to various issues compared to raster tiles, so you may want to think about how its used and give it a test run.

I'm still fluffing around with some ideas, and may be interesting for someone wanting to start something more from scratch that doesn't need to support the normal mapbox styles etc, but I wouldn't recommend my stuff atm :).

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

3 participants