Closed meor9zcu12 closed 3 years ago
This sounds a lot like these issues:
If the polygon isn't closed correctly, or is complex, the Android Maps SDK has issues rendering the fill correctly. I'd encourage you to check and make sure the polygon is correct, and then star and follow the top issue above.
I used https://developers.google.com/maps/documentation/utilities/polylineutility to decode my polyline,
The start point and the end point listed, are the same (40.12750,-74.09900) Level: 3
, therefore the polygon should be closed.
Anyway, I maybe better to share my case to issue tracker.
Thank you.
API Google Maps SDK for Android
OS type and version Android 11, Android 7
Library version and other environment information
dependencies { implementation 'com.google.android.gms:play-services-maps:17.0.1' implementation 'com.google.maps.android:android-maps-utils:2.2.5' }
public class MyMapFragment extends com.google.android.gms.maps.SupportMapFragment implements OnMapReadyCallback, GoogleMap.OnMapLoadedCallback { private GoogleMap googleMap;
}