public void setLocation ( final Point2D LOCATION ) { this . lon = LOCATION . getX ( ) ; this . lat = LOCATION . getY ( ) ; this . LOCATION . setLocation ( LOCATION ) ; this . LOCATION_XY . setLocation ( toXY ( this . lat , this . lon ) ) ; adjustDirection ( ) ; }
Sets the location of the poi by the given Point2D