maps-compose:8.2.0
play-services-maps:20.0.0
android phone:Galaxy Z Flip5(SM-F310)
android:15
one ui:7.0
On some mobile phones(such as Galaxy Z Flip5), when the internal holes intersect, the polygon fill cannot be drawn correctly.
points = listOf(LatLng(0.0,0.0),LatLng(5.0,0.0),LatLng(5.0,5.0),LatLng(0.0,5.0))
holes = listOf(listOf(LatLng(1.0,1.0),LatLng(3.0,1.0),LatLng(3.0,3.0),LatLng(1.0,3.0)),listOf(LatLng(3.0,3.0),LatLng(4.0,3.0),LatLng(4.0,4.0),LatLng(3.0,4.0)))
Incorrect:

Correct(Most Android phones):

maps-compose:8.2.0
play-services-maps:20.0.0
android phone:Galaxy Z Flip5(SM-F310)
android:15
one ui:7.0
On some mobile phones(such as Galaxy Z Flip5), when the internal holes intersect, the polygon fill cannot be drawn correctly.
points = listOf(LatLng(0.0,0.0),LatLng(5.0,0.0),LatLng(5.0,5.0),LatLng(0.0,5.0))holes = listOf(listOf(LatLng(1.0,1.0),LatLng(3.0,1.0),LatLng(3.0,3.0),LatLng(1.0,3.0)),listOf(LatLng(3.0,3.0),LatLng(4.0,3.0),LatLng(4.0,4.0),LatLng(3.0,4.0)))Incorrect:

Correct(Most Android phones):
