addMapPolylineLayer abstract method

bool addMapPolylineLayer(
  1. String name,
  2. MapLayerPriority? layerPriority
)

Creates and registers a new polyline layer for this map scene.

The layer is rendered according to the specified priority. If no priority is provided, the layer is rendered at the default polyline position. Polylines can be added to the layer by calling addMapPolyline or addMapPolylines with the same name.

  • name A unique name for the layer within this map scene.

  • layerPriority Optional render priority relative to other layers.

Returns bool. true if the layer was created successfully, false if a layer with that name already exists.

Implementation

bool addMapPolylineLayer(String name, MapLayerPriority? layerPriority);