createRouteRoadEventsLayer abstract method

RoadEventsLayer createRouteRoadEventsLayer(
  1. MapWindow mapWindow,
  2. RoadEventsLayerStyleProvider styleProvider
)

Creates the road events layer that will draw road events on the route.

The class maintains a strong reference to the object in the 'styleProvider' parameter until it (the class) is invalidated.

mapWindow Map window to attach road events layer styleProvider Provides icons and styles for road events depending on their properties

Implementation

mapkit_road_events_layer_road_events_layer.RoadEventsLayer
    createRouteRoadEventsLayer(
        mapkit_map_map_window.MapWindow mapWindow,
        mapkit_road_events_layer_style_provider.RoadEventsLayerStyleProvider
            styleProvider);