PointDrawable: correct constructor parameters, fix #775

This commit is contained in:
Emux
2020-07-14 10:08:11 +03:00
parent 126c47dfd7
commit 238a5f8f14

View File

@@ -26,7 +26,7 @@ public class PointDrawable extends JtsDrawable {
}
public PointDrawable(GeoPoint point, Style style) {
this(point.getLongitude(), point.getLatitude(), style);
this(point.getLatitude(), point.getLongitude(), style);
}
public PointDrawable(double lat, double lon, Style style) {