addMapMarker3dLayer abstract method

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

Creates a named 3D marker layer with the specified render priority.

The layer is rendered according to the specified priority. If no priority is provided, the layer is rendered after the default 3D markers layer. 3D markers can be added to the layer by calling addMapMarker3d or addMapMarkers3d 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. 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 addMapMarker3dLayer(String name, MapLayerPriority? layerPriority);