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 featuresArray.<GeoGraphicObject> Label object。 Returns:
Combine objects. -
Create composite objects based on GeoJson.
Name Type Description geoJSONGeoJson According to GeoJson object. Returns:
Combine an array of objects. -
Create label based on label library code and label code
Name Type Description libIDNumber Label library coding codeNumber Label coding pointsArray.<PlotPoint3D> Location array callbackfunction optional Callback. -
Release resources and destroy layers
-
Convert geoJson into a plot object and add it to the current plot layer
Name Type Description geoJSONJSON GeoJson format data callbackfunction optional Callback. -
getFeatureByUuid(id) → GeoGraphicObject
-
Determine the label object according to id
Name Type Description idString Label object id Returns:
Label object -
Clear layer
-
Remove the specified label in the layer according to uuid
Name Type Description uuidString The id to remove the label -
Remove specified label
Name Type Description geoGraphicObjectGeoGraphicObject Label object to remove -
Split the combined object.
Name Type Description featuresArray.<GeoGraphicObject> Combine objects. Returns:
Whether the split is successful.
