Plot layer class
Name | Type | Description |
---|---|---|
scene |
Scene | Scenes |
layerName |
String | Plot layer name |
Members
-
geoGraphicObjects : Array.<GeoGraphicObject>
-
Array of plot objects
-
Layer ID
-
Is the layer editable?
-
Whether the layer is locked
-
Whether the layer can be selected
-
Layer name
-
readonlyselectedFeature : GeoGraphicObject
-
Currently selected object
-
Visible layer
Methods
-
Add a label to the plot layer
Name Type Description geoGraphicObject
GeoGraphicObject The label object to be added Returns:
Whether to add success -
Create labels based on label library encoding and label encoding
Name Type Description libID
Number Label library code code
Number Label coding points
Array.<Cartesian3> Position point array callback
function optional Callback. -
Release resource destroy layer
-
getFeatureByUuid(id) → GeoGraphicObject
-
Determine the label object based on the id
Name Type Description id
String Label object id Returns:
Label object -
Empty the layer
-
Remove the specified label from the layer according to uuid
Name Type Description uuid
String The id of the label to remove -
Remove specified label
Name Type Description geoGraphicObject
GeoGraphicObject The label object to be removed