fleaflet / flutter_map

A versatile mapping package for Flutter. Simple and easy to learn, yet completely customizable and configurable, it's the best choice for mapping in your Flutter app.
https://pub.dev/packages/flutter_map
BSD 3-Clause "New" or "Revised" License
2.74k stars 861 forks source link

feat: add `BlendMode` support to `CircleLayer` #1869

Closed Y0ngg4n closed 3 weeks ago

Y0ngg4n commented 5 months ago

Currently overlapping Polygons are adding up in stroke color. To fix this it adds the BlendMode.src to all so this should not happen anymore. Before:

image

Y0ngg4n commented 5 months ago

@mootw i could not test it because of dependency hell. But it uses the same blend mode as in the polygons so the behaviour should be the same.

Y0ngg4n commented 5 months ago

@mootw then i guess it would be better to also parametrize it in the polygons

Y0ngg4n commented 5 months ago

@JaffaKetchup thank you for your answer.

JaffaKetchup commented 3 weeks ago

I'm going to close this for now. This is a good option to introduce to all the painting layers, but that needs a new PR.