fivenine-zurich/UnifiedMaps

Android MapRegion incorrectly constructed in OnCameraChange

Closed this issue · 1 comments

When OnCameraChange is called on VisibleRegion is updated, the construction of MapRegion has its parameters incorrectly ordered.

In UnifiedMaps.Droid.UnifiedMapRenderer.cs:
var region = new MapRegion(mapRegion.Northeast.Latitude, mapRegion.Southwest.Longitude, mapRegion.Southwest.Latitude, mapRegion.Northeast.Longitude);

In MapRegion.cs:
public MapRegion(double minX, double maxY, double maxX, double minY)

Implemented in v1.3.6