fix method
This commit is contained in:
parent
0f8b5cc14a
commit
56450a5302
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue