PointDrawable: correct constructor parameters, fix #775
This commit is contained in:
parent
126c47dfd7
commit
238a5f8f14
@ -26,7 +26,7 @@ public class PointDrawable extends JtsDrawable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public PointDrawable(GeoPoint point, Style style) {
|
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) {
|
public PointDrawable(double lat, double lon, Style style) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user