Closed sqcsabbey closed 1 year ago
This library doesn't support raster layers. You may find flutter-vector-map-tiles-examples useful, since it includes an example of switching layers (though it doesn't support raster layers in a vector style either.)
is this more of a question for the vector_map_tiles project?
yes
Is showing a raster base layer a possibility?
not yet, per above
can we do transparent backgrounds with this package?
It should be possible, though I haven't tried it recently and some people report errors as you've noted. There may be a defect. Feel free to look into it!
I've provided a multi-layer example: https://github.com/greensopinion/flutter-vector-map-tiles-examples See https://github.com/greensopinion/flutter-vector-map-tiles-examples/blob/main/lib/examples/multi_layer.dart for details.
Are hybrid maps supported? I'm trying to switch between a few styles, including mapbox/satellite-streets-v12; that one has both a raster layer and a vector layer, from the stylesheet:
If not directly supported, any suggestions about how to implement this? We're switching between vector tilesets and this, so I think I could add a separate layer to the map when this style is active, but I thought there might be a more consolidated solution.
Edit: is this more of a question for the vector_map_tiles project?
Edit 2: Is showing a raster base layer a possibility? In the changelog, v. 1.1.25 says:
... can we do transparent backgrounds with this package? From that changelog comment, and a couple issues, I wasn't so sure.