getSegmentsAroundCoordinates abstract method
- GeoCoordinates coordinates,
- double radiusInMeters
Loads the segments around a certain coordinates.
Returns an empty list in case no segments could be found around the coordinates.
-
coordinatesThe location to explore -
radiusInMetersThe radius of the search. Only values between 1m and 5000m are accepted.
Returns List<OCMSegmentId>. The list of segments around the given position.
The segments are sorted by distance from the point. Throws if it's not possible to return list of a list of segments.
Throws MapDataLoaderExceptionException. Specifies reason, why list of a list of segments is not returned.
Implementation
List<OCMSegmentId> getSegmentsAroundCoordinates(GeoCoordinates coordinates, double radiusInMeters);