Home > All Other Interfaces > ILayer

ILayer6

This interface provides access to feature layers.

 

 

Properties

 

AltitudeUnit

The units used for altitude measurements.

Annotation

Returns a Boolean indicating whether the layer contains an annotation object.

BBox

An IBBox2D6 representing the layer’s bounding box.

BlockWidth

The geographic block width of the stream requests that are sent from TerraExplorer to the remote server.

CoordinateSystem

An ICoordinateSystem6 representing the layer’s coordinate system information.

DataSourceInfo

An IDataSourceInfo6 representing the data source a project layer is based on.

DynamicAnnotationPlacement

If set to TRUE, annotations are moved along the polyline object to which they are assigned to a visible area on the 3D Window.

Editable

Returns a Boolean indicating whether the layer is editable.

FeatureGroups

An IFeatureGroups6 representing the layer’s feature groups.

Filter

Any valid SQL WHERE clause.

GeometryType

Returns the layer’s geometry type (e.g. polyline or polygon).

IgnoreZ

Returns or sets a Boolean indicating whether the Z value is ignored.

MinimizeLabelDuplications

Removes all repeating labels with the same text or image from view.

Position

An IPosition6 representing the layer’s position on the terrain.

Reproject

Opens the Coordinate System dialog box to reproject the layer to the terrain’s coordinate system.

SelectedFeatures

An IFeatures6 representing the layer’s features.

Streaming

Streams layer data from the server without first storing it in a client local file.

StreamStatus

Returns or sets the status of the streaming (e.g. Paused or Streaming)

TreeItem

An ITreeItem6 representing details about the representation of the object in the Project Tree.

Visibility

An IVisibility6 controlling visibility of the layer at different distances .

 

Methods

 

ExecuteSpatialQuery

Returns an IFeatures6 representing the layer’s features that were returned by the spatial query .

GetParam

Reserved. Currently not used.

Load

Loads the new layer on the terrain.

Refresh

Refreshes the layer.

Save

Saves layer changes to the data source.

SetParam

Reserved. Currently not used.