ibrierley / flutter_map_vector_tiles

A Vector Tile Plugin for flutter_map
BSD 2-Clause "Simplified" License
14 stars 7 forks source link

Use existing flutter_map tile_layer code, or design new one... #7

Closed ibrierley closed 3 years ago

ibrierley commented 4 years ago

It feels too messy to override existing tilelayer and reuse code. Not sure if there is an alternative win there.

I'm currently looking at simply copying tilelayer code and amending, but code reuse is horrible. Can revisit and feedback any code suggestions to tile_layer, but suspect it will end up being sufficiently different to further bloat that code, so may need to be kept separate.

ibrierley commented 4 years ago

Currently have decided to use some old tile code for efficiently, removing the notion of old tiles to prune, or animated between them. Resources are very tight with drawing vectors. Once code and logic is a bit more solid, can always look at migrating it to the newer tile layer code marci02 has been working on.

ibrierley commented 3 years ago

I think the single canvas method is simpler, so I think I'm going to stick with that for the moment.