addMapPolylinesToLayer abstract method

bool addMapPolylinesToLayer(
  1. List<MapPolyline> mapPolylines,
  2. String layerName
)

Adds multiple polylines to the layer identified by a layer name.

The layer must have been created via MapScene.addMapPolylineLayer before calling this method. Polylines that are already part of the layer are skipped.

  • mapPolylines The map polylines to be added to the layer.

  • layerName The name of the layer to add the polylines to.

Returns bool. true if the layer exists and any of the polylines is added, false if the layer was not found, or none of the polylines is added.

Implementation

bool addMapPolylinesToLayer(List<MapPolyline> mapPolylines, String layerName);