addMapMarkers3dToLayer abstract method
- List<
MapMarker3D> markers, - 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.
-
markersThe 3D markers to be added to the named layer. -
layerNameThe 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);