fix method

This commit is contained in:
sonora 2016-01-02 15:12:59 +01:00
parent 0f8b5cc14a
commit 56450a5302

View file

@ -127,7 +127,8 @@ public class GeocodingUtilities {
public double getDistanceP() {
if(point != null && searchPoint != null) {
return MapUtils.getDistance(point, searchPoint);
//return MapUtils.getDistance(point, searchPoint);
return Math.sqrt(point.distSquare));
} else {
return -1;
}