Can I limit the Google Maps V2 (Android) at 180° / -180° longitude (like iOS MapKit)? I don’t want it to wrap around, as I’m trying to implement a clusterin algorithm, and the 180 / -180 degree split would make it difficult.
I would like the panning to be limited at the red line:

So I created a solution that should be fine. If the user panns the map across the -180 / 180 border, the map will flip to the other side. So wrapping the map is still possible, but the “dangerous” area is never displayed.
I had to create a custom MapView:
And the xml:
And for the GoogleMap (mapView.getMap()):
This is needed if the user let’s the map “fly” into the dangerous region.