clean up code
This commit is contained in:
parent
53e864b376
commit
4e678ecf24
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ public class GeocodingUtilities {
|
|||
|
||||
public double getDistanceP() {
|
||||
if(point != null && searchPoint != null) {
|
||||
//return MapUtils.getDistance(point, searchPoint);
|
||||
// Need distance between searchPoint and nearest RouteSegmentPoint here, to approximate distance from neareest named road
|
||||
return Math.sqrt(point.distSquare);
|
||||
} else {
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue