Interface PolylineIndex
Package world.mappable.mapkit.geometry.geo
interface PolylineIndex
Provides methods for binding locations to a polyline
Nested Class Summary
|
Modifier and Type |
Interface |
Description |
|
|
Summary
Methods
|
Type and modifiers |
Method and Description |
|
closestPolylinePosition(@NonNull Point point, |
|
|
closestPolylinePosition(@NonNull Point point, |
Methods
closestPolylinePosition
|
@Nullable |
Finds closest polyline position.
Returns null if there is no position that satisfies the condition distance(point, position) maxLocationBias.
Two modes are available: 1. Find the closest polyline position to a raw point mapkit.geometry.geo.PolylineIndex.Priority#CLOSEST_TO_RAW_POINT 2. Find the closest polyline position to the polyline start mapkit.geometry.geo.PolylineIndex.Priority#CLOSEST_TO_START.
closestPolylinePosition
|
@Nullable |
Finds the closest polyline position between the two positions.
Returns null if there is no position that satisfies the condition distance(point, position) maxLocationBias.