Class SnapToRoadOptions
java.lang.Object
com.cercalia.sdk.model.snaptoroad.SnapToRoadOptions
Options for snap-to-road map matching requests.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forSnapToRoadOptions.static enumWeight type for route calculation. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull SnapToRoadOptions.Builderbuilder()static @NotNull SnapToRoadOptionsdefaults()@Nullable Double@Nullable String@Nullable Integer@Nullable Integer@Nullable Integer@Nullable StringgetNet()@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Integer@Nullable SnapToRoadOptions.Weight
-
Method Details
-
getWeight
- Returns:
- Weight type.
-
getNet
- Returns:
- Network code.
-
getGeometrySrs
- Returns:
- Geometry SRS.
-
getGeometryTolerance
- Returns:
- Geometry tolerance.
-
getPoints
- Returns:
- True to include points.
-
getSpeeding
- Returns:
- True if speeding detection enabled.
-
getSpeedTolerance
- Returns:
- Speed tolerance.
-
getOnlyTrack
- Returns:
- True for only track.
-
getMaxDirectionSearchDistance
- Returns:
- Max direction search distance.
-
getMaxSearchDistance
- Returns:
- Max search distance.
-
getFactor
- Returns:
- Factor.
-
builder
- Returns:
- A new builder for
SnapToRoadOptions.
-
defaults
- Returns:
- Default options.
-