addMapPolylineToLayer abstract method

bool addMapPolylineToLayer(
  1. MapPolyline mapPolyline,
  2. String layerName
)

Adds a single polyline to the layer identified by a layer name.

The layer must have been created via MapScene.addMapPolylineLayer before calling this method.

  • mapPolyline The map polyline to be added to the layer.

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

Returns bool. true if the layer exists and the polyline was added, false otherwise.

Implementation

bool addMapPolylineToLayer(MapPolyline mapPolyline, String layerName);