Closed lucanicoletti closed 4 months ago
Pretty sure that Google Play maps SDK docs say that the hole must be contained within the polygon bounds
I would agree with that, I was not sure if this was an error or just a bad usage of the holes
parameter. But I also would expect that whenever all the points are outside the boundaries, there would be no drawing.
If that's how it is supposed to be, I'll close the issue without problems.
Hi @lucanicoletti . This is exactly how the underlying Maps SDK work. Since we want to mimic as much as possible, we would not like to change this via android-maps-compose
. You can open a feature request in the issue tracker.
Steps to reproduce
points
parameter in thePolygon
composable function;holes
parameter in thePolygon
composable function;Code example
Version of the Compose Map used:
Result: