addMapMarkers3dToLayer abstract method

bool addMapMarkers3dToLayer(
  1. List<MapMarker3D> markers,
  2. String layerName
)

Adds multiple 3D map markers to the named layer.

The layer must have been created via MapScene.addMapMarker3dLayer before calling this method. A MapMarker3D can only belong to one layer at a time. Markers that are already part of any layer (including the default layer) are skipped.

  • markers The 3D markers to be added to the named layer.

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

Returns bool. true if the layer exists and any of the markers is added, false if the layer was not found, or none of the markers could be added. Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

Implementation

bool addMapMarkers3dToLayer(List<MapMarker3D> markers, String layerName);