TableTopSceneViewProxy

Used to perform operations on a TableTopSceneView.

There should be a one-to-one relationship between a TableTopSceneViewProxy and a TableTopSceneView. This relationship is established by passing an instance of TableTopSceneViewProxy to the TableTopSceneView function. Operations can only be performed once the associated composable TableTopSceneView has entered the composition. Operations performed when the associated composable TableTopSceneView is not in the composition will fail gracefully, i.e. won't throw exceptions but won't return a successful result.

Since

200.6.0

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The horizontal field of view of the TableTopSceneView in degrees.

Link copied to clipboard

The ratio indicates how much the vertical field of view is distorted.

Link copied to clipboard

True if continuous panning across the international date line is enabled in the TableTopSceneView, false otherwise. A null value represents that it is currently undetermined.

Functions

Link copied to clipboard

Exports an image snapshot of the current TableTopSceneView.

Link copied to clipboard
fun getLayerViewState(layer: Layer): LayerViewState?

Retrieve the layer's LayerViewState.

Link copied to clipboard
suspend fun identify(layer: Layer, screenCoordinate: ScreenCoordinate, tolerance: Dp, returnPopupsOnly: Boolean = false, maximumResults: Int? = 1): Result<IdentifyLayerResult>

Initiate an Identify operation on the specified layer.

suspend fun identify(graphicsOverlay: GraphicsOverlay, screenCoordinate: ScreenCoordinate, tolerance: Dp, returnPopupsOnly: Boolean = false, maximumResults: Int? = 1): Result<IdentifyGraphicsOverlayResult>

Initiate an Identify operation on the specified graphicsOverlay.

Link copied to clipboard
suspend fun identifyGraphicsOverlays(screenCoordinate: ScreenCoordinate, tolerance: Dp, returnPopupsOnly: Boolean = false, maximumResults: Int? = 1): Result<List<IdentifyGraphicsOverlayResult>>

Initiate an Identify operation on all graphics overlays.

Link copied to clipboard
suspend fun identifyLayers(screenCoordinate: ScreenCoordinate, tolerance: Dp, returnPopupsOnly: Boolean = false, maximumResults: Int? = 1): Result<List<IdentifyLayerResult>>

Initiate an Identify operation on all layers in the view.

Link copied to clipboard
fun locationToScreen(point: Point): LocationToScreenResult?

Converts a location in map coordinates to a point in screen coordinates relative to the upper-left corner of the TableTopSceneView.

Link copied to clipboard
fun screenToBaseSurface(screenCoordinate: ScreenCoordinate): Point?

Converts a screen coordinate (in pixels) to a point on the base surface of the scene within the TableTopSceneView's spatial reference.

Link copied to clipboard
suspend fun screenToLocation(screenCoordinate: ScreenCoordinate): Result<Point>

Asynchronously converts a screen coordinate relative to the upper-left corner of the scene view to a location in map coordinates.