public TransportApiResult < List < Line > > getLinesByBoundingBox ( LineQueryOptions options , String boundingBox ) { if ( options == null ) { options = LineQueryOptions . defaultQueryOptions ( ) ; } if ( boundingBox == null ) { throw new IllegalArgumentException ( "BoundingBox is required." ) ; } String [ ] bbox = boundingBox . split ( "," , - 1 ) ; if ( bbox . length != 4 ) { throw new IllegalArgumentException ( "Invalid bounding box. See valid examples here: http://developer.whereismytransport.com/documentation#bounding-box." ) ; } return TransportApiClientCalls . getLines ( tokenComponent , settings , options , null , null , boundingBox ) ; }
Gets a list of all lines within a bounding box .