DesertBunny
DesertBunny

Reputation: 21

Create custom map overlay (polylines) [Mapbox]

I have a Flutter project using flutter_map and tiles from Mapbox. I also have a very large list of coordinates to create polylines on the map. The coordinates are worldwide geographical boundaries. It's working fine but when displaying the polylines the map gets a bit unresponsive due to the amount of polyline data.

How would I be able to create a custom map with the coordinates/polyline data already embedded in the map to avoid having to draw polylines separately?

Thanks

Upvotes: 0

Views: 997

Answers (1)

You could use Mapbox Studio to create a map style with sources and layers referencing these coordinates/polyline data. This tutorial on creating a custom style is a great place to get started.

Upvotes: 0

Related Questions