flutter_map icon indicating copy to clipboard operation
flutter_map copied to clipboard

feat: add `BlendMode` support to `CircleLayer`

Open Y0ngg4n opened this issue 1 year ago • 3 comments

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 avatar Apr 11 '24 20:04 Y0ngg4n

@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 avatar Apr 12 '24 09:04 Y0ngg4n

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

Y0ngg4n avatar Apr 12 '24 09:04 Y0ngg4n

@JaffaKetchup thank you for your answer.

  • It can take a little bit until i have the time to write an example as i am currently limited in time
  • For polygons it already works, as they already use the right BlendMode
  • Then it should also become a property for the polygons too

Y0ngg4n avatar Apr 17 '24 19:04 Y0ngg4n

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.

JaffaKetchup avatar Sep 12 '24 17:09 JaffaKetchup