get syntax right

This commit is contained in:
sonora 2015-01-05 14:03:51 +01:00
parent 16ad63e21b
commit ec95a19019

View file

@ -73,7 +73,7 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio
@Override @Override
public boolean onSingleTap(PointF point, RotatedTileBox tileBox) { public boolean onSingleTap(PointF point, RotatedTileBox tileBox) {
if(selectFromMapTouch) { if(selectFromMapTouch) {
LatLon new latlon = tileBox.getLatLonFromPixel(point.x, point.y); latlon = new LatLon(tileBox.getLatLonFromPixel(point.x, point.y));
selectFromMapTouch = false; selectFromMapTouch = false;
//TODO: Hardy: Looks like there is a small bug here somewhere: Re-selecting the "From" or "To" point during an ongoing route calculation (and only then) seems to (sometimes?) only interrupt the ongoing route calculation, but not restart it again with the new points //TODO: Hardy: Looks like there is a small bug here somewhere: Re-selecting the "From" or "To" point during an ongoing route calculation (and only then) seems to (sometimes?) only interrupt the ongoing route calculation, but not restart it again with the new points
if(selectFromMapForTarget) { if(selectFromMapForTarget) {