MapMatcher.withLayers constructor

MapMatcher.withLayers(
  1. SDKNativeEngine sdkEngine,
  2. bool useRenderingLayers
)

Creates a new instance of this class.

  • sdkEngine A SDKEngine instance.

  • useRenderingLayers When set to true, LayerConfiguration.Feature.RENDERING is used; otherwise, LayerConfiguration.Feature.EHORIZON is used to retrieve segment geometry data from the OCM map. Note: Ensure the corresponding layer is properly enabled in your LayerConfiguration to avoid incorrect results.

Throws InstantiationException. Indicates what went wrong when the instantiation was attempted.

Implementation

factory MapMatcher.withLayers(SDKNativeEngine sdkEngine, bool useRenderingLayers) => $prototype.withLayers(sdkEngine, useRenderingLayers);