public TransportApiResult < List < Line > > getLinesNearby ( LineQueryOptions options , double latitude , double longitude , int radiusInMeters ) { if ( options == null ) { options = LineQueryOptions . defaultQueryOptions ( ) ; } if ( radiusInMeters < 0 ) { throw new IllegalArgumentException ( "Invalid limit. Valid values are positive numbers only." ) ; } return TransportApiClientCalls . getLines ( tokenComponent , settings , options , new Point ( longitude , latitude ) , radiusInMeters , null ) ; }
Gets a list of lines nearby ordered by distance from the point specified .