I am using the Google Maps API on Android to create a puzzle. This link contains the data I used to draw African countries: World countries coordinates.
When the use
A bit later response, but for future searches, you can also check if a location is inside the current visible map area by using:
// Kotlin code
var location = LatLng(-27.6016488, -48.5137219)
val isInside = mGoogleMap.projection.visibleRegion.latLngBounds.contains(location)
Documentation link: contains (LatLng point)