clean up code

This commit is contained in:
sonora 2016-01-02 15:35:38 +01:00
parent 53e864b376
commit 4e678ecf24

View file

@ -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;