Plotting layer class
Name | Type | Description |
---|---|---|
scene |
Scene | Scenes |
layerName |
String | Plotting layer name |
Members
-
geoGraphicObjects : Array.<GeoGraphicObject>
-
Array of plot objects of the layer
-
Layer ID
-
Whether the layer is editable
-
Whether the layer is locked
-
Whether the layer is selectable
-
The name of the layer
-
readonlyselectedFeature : GeoGraphicObject
-
Currently selected object
-
Visible layer
Methods
-
Create composite objects.
Name Type Description features
Array.<GeoGraphicObject> Label object。 Returns:
Combine objects. -
Create composite objects based on GeoJson.
Name Type Description geoJSON
GeoJson According to GeoJson object. Returns:
Combine an array of objects. -
Create label based on label library code and label code
Name Type Description libID
Number Label library coding code
Number Label coding points
Array.<PlotPoint3D> Location array callback
function optional Callback. -
Release resources and destroy layers
-
Convert geoJson into a plot object and add it to the current plot layer
Name Type Description geoJSON
JSON GeoJson format data callback
function optional Callback. -
getFeatureByUuid(id) → GeoGraphicObject
-
Determine the label object according to id
Name Type Description id
String Label object id Returns:
Label object -
Clear layer
-
Remove the specified label in the layer according to uuid
Name Type Description uuid
String The id to remove the label -
Remove specified label
Name Type Description geoGraphicObject
GeoGraphicObject Label object to remove -
Split the combined object.
Name Type Description features
Array.<GeoGraphicObject> Combine objects. Returns:
Whether the split is successful.