MapView

class MapView(context: Context, attrs: AttributeSet?) : GeoView

A view to render and allow interaction with 2D geographic content from an ArcGISMap on a screen. In a Model View Controller (MVC) architecture, this class represents the View and the Map object represents the Model.

To display a map, create a MapView of the required size and then set a Map object. The mapview will automatically load the map, its basemap, operational layers, and display their contents on screen.

MapView inherits from GeoView and adds 2D specific methods for map navigation that set the visible area of the map (the current extent) by setting a viewpoint. For example, MapView.setViewpointGeometryAsync(Geometry) zooms the map to the extent of a geometry, and MapView.setViewpointCenterAsync(Point) zooms the map to a given scale, centered at the given Point. More setViewpoint methods are available, including overloads where an animation duration can be specified. Geometries passed to these methods will be automatically re-projected if required. Use GeoView.getIsNavigating() or a Navigation Changed event to determine if navigation is ongoing or completed. Once navigation is complete, get the new viewpoint from getCurrentViewPoint.

The MapView comes with default gestures to allow users to pan, zoom, and rotate the map specific to each platform. Platforms also allow you to override these gestures with your own. Events are also available on the MapView to allow applications to be notified of gesture events.

Since

200.0.0

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet?)
constructor(context: Context)

Properties

Link copied to clipboard

Various settings applied to the map view's background.

Link copied to clipboard

Allows users to interactively create and edit geometries by interacting with the view.

Link copied to clipboard
Link copied to clipboard
open override var isAttributionBarVisible: Boolean

True if attribution bar is visible in the GeoView, false otherwise.

Link copied to clipboard

Whether the configured insets are still valid after resizing the view.

Link copied to clipboard

The location display for the map view.

Link copied to clipboard

The map that the MapView is displaying. If you assign a Map to a MapView, the map, its Basemap, and collection of operational layers automatically start to load. When loading completes, the layers and basemap are rendered in the map view.

Link copied to clipboard
val mapRotation: StateFlow<Double>

The MapView's current rotation.

Link copied to clipboard
val mapScale: StateFlow<Double>

The MapView's current scale.

Link copied to clipboard
open override val onDoubleTap: SharedFlow<DoubleTapEvent>

A SharedFlow which emits DoubleTapEvent when the user double taps on the screen.

Link copied to clipboard
open override val onDown: SharedFlow<DownEvent>

A SharedFlow which emits a DownEvent when the user first presses on the screen.

Link copied to clipboard

A SharedFlow which emits InteractiveZoomingChangeEvent when a user performs a pinch or double-tap-drag gesture on the GeoView.

Link copied to clipboard
open override val onLongPress: SharedFlow<LongPressEvent>

A SharedFlow which emits LongPressEvent when a user holds a pointer on the screen.

Link copied to clipboard
open override val onPan: SharedFlow<PanChangeEvent>

A SharedFlow which emits PanChangeEvent when a user drags a pointer or pointers across the screen.

Link copied to clipboard
open override val onRotate: SharedFlow<RotationChangeEvent>

A SharedFlow which emits RotationChangeEvent when a user performs a rotation gesture on the GeoView.

Link copied to clipboard
open override val onScale: SharedFlow<ScaleChangeEvent>

A SharedFlow which emits ScaleChangeEvent when a user performs a pinch gesture on the GeoView.

Link copied to clipboard
open override val onSingleTapConfirmed: SharedFlow<SingleTapConfirmedEvent>

A SharedFlow which emits SingleTapConfirmedEvents when the user taps once on the screen.

Link copied to clipboard
open override val onTwoPointerTap: SharedFlow<TwoPointerTapEvent>

A SharedFlow which emits TwoPointerTapEvent when a user taps two pointers on the screen.

Link copied to clipboard
open override val onUp: SharedFlow<UpEvent>

A SharedFlow which emits an UpEvent when the user removes all their pointers from the screen.

Link copied to clipboard

The map view's current units per DIP.

Link copied to clipboard

The bottom viewport inset of the MapView in device-independent pixels (dp).

Link copied to clipboard

The left viewport inset of the MapView in device-independent pixels (dp).

Link copied to clipboard

The right viewport inset of the MapView in device-independent pixels (dp).

Link copied to clipboard

The top viewport inset of the MapView in device-independent pixels (dp).

Link copied to clipboard

The map view's visible area.

Link copied to clipboard

The wrap around mode.

Inherited properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var alpha: Float
Link copied to clipboard

A collection of analysis overlays that render the analysis results on the view.

Link copied to clipboard

A SharedFlow that emits when the view status of any analysis in the GeoView changes.

Link copied to clipboard
open var animation: Animation?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val attributionText: StateFlow<String>

The attribution text for the data that is currently displayed in the GeoView.

Link copied to clipboard
open val autofillHints: Array<out String?>??
Link copied to clipboard
Link copied to clipboard
open val autofillType: Int
Link copied to clipboard
Link copied to clipboard
open var background: Drawable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val baseline: Int
Link copied to clipboard
var bottom: Int
Link copied to clipboard

The Callout for this geo view. A Callout displays an Android View that contains text and/or other content. A geo view has only one Callout.

Link copied to clipboard
Link copied to clipboard
open val childCount: Int
Link copied to clipboard
open var clipBounds: Rect?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val display: Display?
Link copied to clipboard
Link copied to clipboard
open val drawingCache: Bitmap?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val drawingTime: Long
Link copied to clipboard
val drawStatus: StateFlow<DrawStatus>

The GeoView's current draw status.

Link copied to clipboard
open var elevation: Float
Link copied to clipboard
open val explicitStyle: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var focusable: Int
Link copied to clipboard
open val focusedChild: View?
Link copied to clipboard
open var foreground: Drawable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val geoModelError: StateFlow<Throwable?>

The geo model error on the view. This error is used to indicate that the geo model assigned to the view had an issue loading or didn't meet the requirements after loading, resulting in nothing rendering on screen. The error could be resolved by replacing the geo model with one that meets the requirements or by ensuring the geo model can load successfully.

Link copied to clipboard

A collection containing the GraphicsOverlays.

Link copied to clipboard
var grid: Grid?

A coordinate system grid to display on top of the GeoView.

Link copied to clipboard
open val handler: Handler?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
open var id: Int
Link copied to clipboard

A collection of overlays for displaying images in the view. An image overlay collection cannot belong to more that one GeoView.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val isDirty: Boolean
Link copied to clipboard
Link copied to clipboard
open var isEnabled: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val isFocused: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var isHovered: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isInteracting: StateFlow<Boolean>

Indicates whether the user is currently interacting with the GeoView.

Link copied to clipboard
Link copied to clipboard
open val isLaidOut: Boolean
Link copied to clipboard
Link copied to clipboard
open override val isLayoutRequested: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Is the GeoView currently navigating.

Link copied to clipboard
Link copied to clipboard
open val isOpaque: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var isPressed: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val isShown: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val isTextAlignmentResolved: Boolean
Link copied to clipboard
open override val isTextDirectionResolved: Boolean
Link copied to clipboard
Link copied to clipboard

True if continuous panning across the international date line is enabled in the GeoView, false otherwise. By default, a GeoView attempts to wrap the ArcGISMap or ArcGISScene across the international date line for a continuous panning user experience. The eastern and western hemispheres wrap to form a continuous map, giving the impression that the map is endless.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var labelFor: Int
Link copied to clipboard

The view label properties. The view label properties are an overall control for whether labels will be created and displayed for layers added to the view. Individual layers can also control whether labels should be displayed for their features. Labels need to be enabled both in the view and in the layer. By default the labeling for a view is enabled. The view label properties also control global aspects of the label appearance e.g. animation effects.

Link copied to clipboard
open val layerType: Int
Link copied to clipboard

A SharedFlow that emits when the view state of any layer in the GeoView changes.

Link copied to clipboard
Link copied to clipboard
open override var layoutDirection: Int
Link copied to clipboard
open var layoutMode: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var left: Int
Link copied to clipboard
open val matrix: Matrix?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var minimumHeight: Int
Link copied to clipboard
open var minimumWidth: Int
Link copied to clipboard
val navigationChanged: SharedFlow<Boolean>

A SharedFlow which emits a boolean to indicate that the navigation status of a GeoView has changed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var nextFocusUpId: Int
Link copied to clipboard

A SharedFlow that emits when the attribution bar's position or size changes due to expanding, collapsing, or inset changes.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val paddingBottom: Int
Link copied to clipboard
open val paddingEnd: Int
Link copied to clipboard
open val paddingLeft: Int
Link copied to clipboard
open val paddingRight: Int
Link copied to clipboard
open val paddingStart: Int
Link copied to clipboard
open val paddingTop: Int
Link copied to clipboard
override val parent: ViewParent?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var pivotX: Float
Link copied to clipboard
open var pivotY: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val resources: Resources?
Link copied to clipboard
Link copied to clipboard
var right: Int
Link copied to clipboard
Link copied to clipboard
open val rootView: View?
Link copied to clipboard
Link copied to clipboard
open var rotation: Float
Link copied to clipboard
open var rotationX: Float
Link copied to clipboard
open var rotationY: Float
Link copied to clipboard
open var scaleX: Float
Link copied to clipboard
open var scaleY: Float
Link copied to clipboard
Link copied to clipboard
open var scrollBarSize: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The selection properties that is applied to the GeoView. This property allows configuration of new selection highlighting functionality such as selection promotion and switchable selection halo.

Link copied to clipboard
open val solidColor: Int
Link copied to clipboard
Link copied to clipboard

The SpatialReference is used to relate map coordinates to locations in the real world. This property is available when the view's map or scene has been loaded.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var tag: Any?
Link copied to clipboard
open override var textAlignment: Int
Link copied to clipboard
open override var textDirection: Int
Link copied to clipboard
val timeExtent: StateFlow<TimeExtent?>

The current TimeExtent of the GeoView. The Time Extent of the GeoView defines how time-enabled data is displayed. Participating layers filter their data to only show data within the time extent set on the GeoView (see TimeAware for details). The range of the time extent includes the start and end values (a feature at 10/24/2016 would be included in a time extent defined as 10/24/2016 - 11/14/2016). Time filtering is not enabled until a non-null time extent is set on the GeoView. When the time extent is null on the GeoView, no time filtering is applied and all content is rendered.

Link copied to clipboard
Link copied to clipboard
var top: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val viewpointChanged: SharedFlow<Unit>

A SharedFlow which notifies when the viewpoint of the view has changed.

Link copied to clipboard
Link copied to clipboard
open var visibility: Int
Link copied to clipboard
val width: Int
Link copied to clipboard
open val windowId: WindowId?
Link copied to clipboard
Link copied to clipboard
open val windowToken: IBinder?
Link copied to clipboard
Link copied to clipboard
open var x: Float
Link copied to clipboard
open var y: Float
Link copied to clipboard
open var z: Float

Functions

Link copied to clipboard

Identifies all the elements in the GeometryEditor, at the given screen point.

Link copied to clipboard

Converts a coordinate within the map view's spatial reference to a screen coordinate (in pixels). If the wraparound mode is active, this method returns the closest screen location matching the specified map location. 'Closest' meaning: If it's in view, return that location, otherwise return for the frame where the location is the closest to the center of the view.

Link copied to clipboard
open override fun onCreate(owner: LifecycleOwner)
Link copied to clipboard
open override fun onDestroy(owner: LifecycleOwner)
Link copied to clipboard
open override fun onPause(owner: LifecycleOwner)
Link copied to clipboard
open override fun onResume(owner: LifecycleOwner)
Link copied to clipboard
fun screenToLocation(screenCoordinate: ScreenCoordinate): Point?

Converts a screen coordinate (in pixels) to a coordinate within the map view's spatial reference.

Link copied to clipboard
fun setViewInsets(left: Double = viewInsetLeft, right: Double = viewInsetRight, top: Double = viewInsetTop, bottom: Double = insetBottomWithoutAttributionBar)

Sets the specified left, top, right, and bottom insets on the MapView. Insets control the active visible area, instructing the MapView to ignore parts that may be obstructed by overlaid UI elements and affecting the MapView's logical center, the reported visible area and the location display.

Link copied to clipboard
suspend fun setViewpointAnimated(viewpoint: Viewpoint, durationSeconds: Float, curve: AnimationCurve): Result<Boolean>

Change the map view to the viewpoint with duration and animation curve asynchronously.

Link copied to clipboard
suspend fun setViewpointCenter(center: Point): Result<Boolean>

Change the map view to the center point asynchronously.

suspend fun setViewpointCenter(center: Point, scale: Double): Result<Boolean>

Change the map view to the center point and scale asynchronously.

Link copied to clipboard
suspend fun setViewpointGeometry(boundingGeometry: Geometry): Result<Boolean>

Change the map view to the bounding geometry asynchronously.

suspend fun setViewpointGeometry(boundingGeometry: Geometry, paddingInDips: Double): Result<Boolean>

Change the map view to the bounding geometry with padding asynchronously.

Link copied to clipboard
suspend fun setViewpointRotation(angleDegrees: Double): Result<Boolean>

Rotates the map view to the provided angle asynchronously.

Link copied to clipboard
suspend fun setViewpointScale(scale: Double): Result<Boolean>

Change the map view to zoom to a scale asynchronously.

Inherited functions

Link copied to clipboard
open fun addChildrenForAccessibility(outChildren: ArrayList<View?>?)
Link copied to clipboard
open fun addExtraDataToAccessibilityNodeInfo(info: AccessibilityNodeInfo, extraDataKey: String, arguments: Bundle?)
Link copied to clipboard
open fun addFocusables(views: ArrayList<View?>?, direction: Int)
open fun addFocusables(views: ArrayList<View?>?, direction: Int, focusableMode: Int)
Link copied to clipboard
open fun addKeyboardNavigationClusters(views: Collection<View?>, direction: Int)
Link copied to clipboard
Link copied to clipboard
open fun addTouchables(views: ArrayList<View?>?)
Link copied to clipboard
open fun addView(child: View?)
open fun addView(child: View?, index: Int)
open fun addView(child: View?, index: Int, params: ViewGroup.LayoutParams?)
open fun addView(child: View?, width: Int, height: Int)
open fun addView(child: View?, params: ViewGroup.LayoutParams?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun autofill(values: SparseArray<AutofillValue?>)
open fun autofill(value: AutofillValue?)
Link copied to clipboard
open fun bringChildToFront(child: View?)
Link copied to clipboard
open fun bringToFront()
Link copied to clipboard
open fun buildDrawingCache(autoScale: Boolean)
Link copied to clipboard
open fun buildLayer()
Link copied to clipboard
open fun callOnClick(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun cancelLongPress()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun canScrollHorizontally(direction: Int): Boolean
Link copied to clipboard
open fun canScrollVertically(direction: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun childHasTransientStateChanged(child: View, childHasTransientState: Boolean)
Link copied to clipboard
open fun clearAnimation()
Link copied to clipboard
open fun clearChildFocus(child: View?)
Link copied to clipboard
Link copied to clipboard
open fun clearFocus()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun computeScroll()
Link copied to clipboard
open fun computeSystemWindowInsets(in: WindowInsets?, outLocalInsets: Rect?): WindowInsets?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchCreateViewTranslationRequest(viewIds: Map<AutofillId?, LongArray?>, supportedFormats: IntArray, capability: TranslationCapability?, requests: List<ViewTranslationRequest?>)
Link copied to clipboard
open fun dispatchDisplayHint(hint: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchKeyEvent(event: KeyEvent?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchNestedFling(velocityX: Float, velocityY: Float, consumed: Boolean): Boolean
Link copied to clipboard
open fun dispatchNestedPreFling(velocityX: Float, velocityY: Float): Boolean
Link copied to clipboard
open fun dispatchNestedPreScroll(dx: Int, dy: Int, consumed: IntArray?, offsetInWindow: IntArray?): Boolean
Link copied to clipboard
open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, offsetInWindow: IntArray?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget?>)
Link copied to clipboard
open fun dispatchSetActivated(activated: Boolean)
Link copied to clipboard
open fun dispatchSetSelected(selected: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchUnhandledMove(focused: View?, direction: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun dispatchWindowVisibilityChanged(visibility: Int)
Link copied to clipboard
open fun draw(canvas: Canvas)
Link copied to clipboard
Link copied to clipboard
open fun endViewTransition(view: View?)
Link copied to clipboard

Exports the current view to the provided buffer.

Link copied to clipboard
open fun findFocus(): View?
Link copied to clipboard
fun <T : View?> findViewById(id: Int): T?
Link copied to clipboard
open fun findViewsWithText(outViews: ArrayList<View?>?, text: CharSequence?, flags: Int)
Link copied to clipboard
fun <T : View?> findViewWithTag(tag: Any?): T?
Link copied to clipboard
Link copied to clipboard
open fun focusSearch(direction: Int): View?
open fun focusSearch(focused: View?, direction: Int): View?
Link copied to clipboard
open fun forceHasOverlappingRendering(hasOverlappingRendering: Boolean)
Link copied to clipboard
open fun forceLayout()
Link copied to clipboard
Link copied to clipboard
open fun generateDisplayHash(hashAlgorithm: String, bounds: Rect?, executor: Executor, callback: DisplayHashResultCallback)
Link copied to clipboard

Retrieves the analysis' status in the view. This method is not supported on LocalSceneView.

Link copied to clipboard
Link copied to clipboard
open fun getChildAt(index: Int): View?
Link copied to clipboard
fun getChildDrawingOrder(drawingPosition: Int): Int
Link copied to clipboard
open fun getChildVisibleRect(child: View?, r: Rect?, offset: Point?): Boolean
Link copied to clipboard

Retrieve the current viewpoint for this GeoView.

Link copied to clipboard
open fun getDrawingRect(outRect: Rect?)
Link copied to clipboard
open fun getFocusables(direction: Int): ArrayList<View?>?
Link copied to clipboard
open fun getFocusedRect(r: Rect?)
Link copied to clipboard
open fun getGlobalVisibleRect(r: Rect?, globalOffset: Point?): Boolean
Link copied to clipboard
open fun getHitRect(outRect: Rect?)
Link copied to clipboard

Retrieve the layer's view state.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLocationInSurface(location: IntArray)
Link copied to clipboard
open fun getLocationInWindow(outLocation: IntArray?)
Link copied to clipboard
open fun getLocationOnScreen(outLocation: IntArray?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTextAlignment(): Int
Link copied to clipboard
open fun getTextDirection(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hasFocus(): Boolean
Link copied to clipboard
open fun hasFocusable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun identifyGraphicsOverlay(graphicsOverlay: GraphicsOverlay, screenCoordinate: ScreenCoordinate, tolerance: Double, returnPopupsOnly: Boolean): Result<IdentifyGraphicsOverlayResult>
suspend fun identifyGraphicsOverlay(graphicsOverlay: GraphicsOverlay, screenCoordinate: ScreenCoordinate, tolerance: Double, returnPopupsOnly: Boolean, maximumResults: Int): Result<IdentifyGraphicsOverlayResult>

Initiate an Identify operation on the specified graphicsOverlay.

Link copied to clipboard
suspend fun identifyGraphicsOverlays(screenCoordinate: ScreenCoordinate, tolerance: Double, returnPopupsOnly: Boolean): Result<List<IdentifyGraphicsOverlayResult>>
suspend fun identifyGraphicsOverlays(screenCoordinate: ScreenCoordinate, tolerance: Double, returnPopupsOnly: Boolean, maximumResults: Int): Result<List<IdentifyGraphicsOverlayResult>>

Initiate an Identify operation on all graphics overlays.

Link copied to clipboard
suspend fun identifyLayer(layer: Layer, screenCoordinate: ScreenCoordinate, tolerance: Double, returnPopupsOnly: Boolean): Result<IdentifyLayerResult>
suspend fun identifyLayer(layer: Layer, screenCoordinate: ScreenCoordinate, tolerance: Double, returnPopupsOnly: Boolean, maximumResults: Int): Result<IdentifyLayerResult>

Initiate an Identify operation on the specified layer.

Link copied to clipboard
suspend fun identifyLayers(screenCoordinate: ScreenCoordinate, tolerance: Double, returnPopupsOnly: Boolean): Result<List<IdentifyLayerResult>>
suspend fun identifyLayers(screenCoordinate: ScreenCoordinate, tolerance: Double, returnPopupsOnly: Boolean, maximumResults: Int): Result<List<IdentifyLayerResult>>

Initiate an Identify operation on all layers in the view.

Link copied to clipboard
open fun indexOfChild(child: View?): Int
Link copied to clipboard
open fun invalidate()
open fun invalidate(dirty: Rect?)
open fun invalidate(l: Int, t: Int, r: Int, b: Int)
Link copied to clipboard
fun invalidateChild(child: View?, dirty: Rect?)
Link copied to clipboard
open fun invalidateChildInParent(location: IntArray?, dirty: Rect?): ViewParent?
Link copied to clipboard
open fun invalidateDrawable(drawable: Drawable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isVisibleToUserForAutofill(virtualId: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun keyboardNavigationClusterSearch(currentCluster: View?, direction: Int): View?
Link copied to clipboard
fun layout(l: Int, t: Int, r: Int, b: Int)
Link copied to clipboard
fun measure(widthMeasureSpec: Int, heightMeasureSpec: Int)
Link copied to clipboard
open fun notifySubtreeAccessibilityStateChanged(child: View, source: View, changeType: Int)
Link copied to clipboard
fun offsetDescendantRectToMyCoords(descendant: View?, rect: Rect?)
Link copied to clipboard
open fun offsetLeftAndRight(offset: Int)
Link copied to clipboard
fun offsetRectIntoDescendantCoords(descendant: View?, rect: Rect?)
Link copied to clipboard
open fun offsetTopAndBottom(offset: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onCreateViewTranslationRequest(supportedFormats: IntArray, requestsCollector: Consumer<ViewTranslationRequest?>)
Link copied to clipboard
open fun onCreateVirtualViewTranslationRequests(virtualIds: LongArray, supportedFormats: IntArray, requestsCollector: Consumer<ViewTranslationRequest?>)
Link copied to clipboard
open fun onDescendantInvalidated(child: View, target: View)
Link copied to clipboard
open fun onDragEvent(event: DragEvent?): Boolean
Link copied to clipboard
open fun onDrawForeground(canvas: Canvas)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onHoverChanged(hovered: Boolean)
Link copied to clipboard
open fun onHoverEvent(event: MotionEvent?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean
Link copied to clipboard
open fun onKeyLongPress(keyCode: Int, event: KeyEvent?): Boolean
Link copied to clipboard
open fun onKeyMultiple(keyCode: Int, repeatCount: Int, event: KeyEvent?): Boolean
Link copied to clipboard
open fun onKeyPreIme(keyCode: Int, event: KeyEvent?): Boolean
Link copied to clipboard
open fun onKeyShortcut(keyCode: Int, event: KeyEvent?): Boolean
Link copied to clipboard
open fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean
Link copied to clipboard
open fun onNestedFling(target: View, velocityX: Float, velocityY: Float, consumed: Boolean): Boolean
Link copied to clipboard
open fun onNestedPreFling(target: View, velocityX: Float, velocityY: Float): Boolean
Link copied to clipboard
open fun onNestedPrePerformAccessibilityAction(target: View, action: Int, args: Bundle?): Boolean
Link copied to clipboard
open fun onNestedPreScroll(target: View, dx: Int, dy: Int, consumed: IntArray)
Link copied to clipboard
open fun onNestedScroll(target: View, dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int)
Link copied to clipboard
open fun onNestedScrollAccepted(child: View, target: View, axes: Int)
Link copied to clipboard
open fun onPointerCaptureChange(hasCapture: Boolean)
Link copied to clipboard
open fun onProvideAutofillStructure(structure: ViewStructure?, flags: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onProvideStructure(structure: ViewStructure?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onResolvePointerIcon(event: MotionEvent?, pointerIndex: Int): PointerIcon?
Link copied to clipboard
open fun onRtlPropertiesChanged(layoutDirection: Int)
Link copied to clipboard
open fun onScreenStateChanged(screenState: Int)
Link copied to clipboard
open fun onScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget?>)
Link copied to clipboard
open fun onStart(owner: LifecycleOwner)
Link copied to clipboard
open fun onStartNestedScroll(child: View, target: View, nestedScrollAxes: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onStop(owner: LifecycleOwner)
Link copied to clipboard
open fun onStopNestedScroll(child: View)
Link copied to clipboard
open fun onTouchEvent(event: MotionEvent?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onViewAdded(child: View?)
Link copied to clipboard
open fun onViewRemoved(child: View?)
Link copied to clipboard
Link copied to clipboard
open fun onVisibilityAggregated(isVisible: Boolean)
Link copied to clipboard
open fun onWindowFocusChanged(hasWindowFocus: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun performAccessibilityAction(action: Int, arguments: Bundle?): Boolean
Link copied to clipboard
open fun performClick(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun performHapticFeedback(feedbackConstant: Int): Boolean
open fun performHapticFeedback(feedbackConstant: Int, flags: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun playSoundEffect(soundConstant: Int)
Link copied to clipboard
open fun post(action: Runnable?): Boolean
Link copied to clipboard
open fun postDelayed(action: Runnable?, delayMillis: Long): Boolean
Link copied to clipboard
open fun postInvalidate()
open fun postInvalidate(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun postInvalidateDelayed(delayMilliseconds: Long)
open fun postInvalidateDelayed(delayMilliseconds: Long, left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun postInvalidateOnAnimation(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun postOnAnimation(action: Runnable?)
Link copied to clipboard
open fun postOnAnimationDelayed(action: Runnable?, delayMillis: Long)
Link copied to clipboard
open fun propagateRequestedFrameRate(frameRate: Float, forceOverride: Boolean)
Link copied to clipboard
open fun recomputeViewAttributes(child: View?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeAllViews()
Link copied to clipboard
Link copied to clipboard
open fun removeCallbacks(action: Runnable?): Boolean
Link copied to clipboard
open fun removeView(view: View?)
Link copied to clipboard
open fun removeViewAt(index: Int)
Link copied to clipboard
open fun removeViewInLayout(view: View?)
Link copied to clipboard
open fun removeViews(start: Int, count: Int)
Link copied to clipboard
open fun removeViewsInLayout(start: Int, count: Int)
Link copied to clipboard
open fun reportAppJankStats(appJankStats: AppJankStats)
Link copied to clipboard
Link copied to clipboard
open fun requestChildFocus(child: View?, focused: View?)
Link copied to clipboard
open fun requestChildRectangleOnScreen(child: View, rectangle: Rect?, immediate: Boolean): Boolean
Link copied to clipboard
open fun requestDisallowInterceptTouchEvent(disallowIntercept: Boolean)
Link copied to clipboard
Link copied to clipboard
fun requestFocus(direction: Int): Boolean
open fun requestFocus(direction: Int, previouslyFocusedRect: Rect?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun requestLayout()
Link copied to clipboard
Link copied to clipboard
open fun requestRectangleOnScreen(rectangle: Rect?): Boolean
open fun requestRectangleOnScreen(rectangle: Rect?, immediate: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
open fun requestTransparentRegion(child: View?)
Link copied to clipboard
fun <T : View?> requireViewById(id: Int): T & Any
Link copied to clipboard
open fun resetPivot()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun saveAttributeDataForStyleable(context: Context, styleable: IntArray, attrs: AttributeSet?, t: TypedArray, defStyleAttr: Int, defStyleRes: Int)
Link copied to clipboard
open fun saveHierarchyState(container: SparseArray<Parcelable?>?)
Link copied to clipboard
open fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
Link copied to clipboard
Link copied to clipboard
open fun scrollBy(x: Int, y: Int)
Link copied to clipboard
open fun scrollTo(x: Int, y: Int)
Link copied to clipboard
open fun sendAccessibilityEvent(eventType: Int)
Link copied to clipboard
open fun setAccessibilityDataSensitive(accessibilityDataSensitive: Int)
Link copied to clipboard
open fun setAddStatesFromChildren(addsStates: Boolean)
Link copied to clipboard
open fun setAllowClickWhenDisabled(clickableWhenDisabled: Boolean)
Link copied to clipboard
open fun setAllowedHandwritingDelegatePackage(allowedPackageName: String?)
Link copied to clipboard
open fun setAllowedHandwritingDelegatorPackage(allowedPackageName: String?)
Link copied to clipboard
open fun setAutofillHints(vararg autofillHints: String?)
Link copied to clipboard
open fun setBackgroundColor(color: Int)
Link copied to clipboard
open fun setBackgroundDrawable(background: Drawable?)
Link copied to clipboard
open fun setBackgroundResource(resid: Int)
Link copied to clipboard
suspend fun setBookmark(bookmark: Bookmark): Result<Boolean>

Sets the GeoView's viewpoint with the bookmark's value. Applies the viewpoint of the bookmark to the GeoView.

Link copied to clipboard
open fun setFadingEdgeLength(length: Int)
Link copied to clipboard
open fun setHandwritingBoundsOffsets(offsetLeft: Float, offsetTop: Float, offsetRight: Float, offsetBottom: Float)
Link copied to clipboard
open fun setHasTransientState(hasTransientState: Boolean)
Link copied to clipboard
open fun setIsCredential(isCredential: Boolean)
Link copied to clipboard
open fun setIsHandwritingDelegate(isHandwritingDelegate: Boolean)
Link copied to clipboard
open fun setLayerPaint(paint: Paint?)
Link copied to clipboard
open fun setLayerType(layerType: Int, paint: Paint?)
Link copied to clipboard
fun setLeftTopRightBottom(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setOnReceiveContentListener(mimeTypes: Array<out String?>??, listener: OnReceiveContentListener?)
Link copied to clipboard
Link copied to clipboard
open fun setPadding(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun setPaddingRelative(start: Int, top: Int, end: Int, bottom: Int)
Link copied to clipboard
open fun setRenderEffect(renderEffect: RenderEffect?)
Link copied to clipboard
fun setTimeExtent(timeExtent: TimeExtent?)

Sets the TimeExtent? value of the timeExtent StateFlow property.

Link copied to clipboard
open fun setTransitionVisibility(visibility: Int)
Link copied to clipboard
fun setViewpoint(viewpoint: Viewpoint)

Change the GeoView to the new viewpoint. The viewpoint is updated instantaneously.

Link copied to clipboard
suspend fun setViewpointAnimated(viewpoint: Viewpoint): Result<Boolean>

Change the GeoView to the new viewpoint with animation. This function uses the standard animation duration.

suspend fun setViewpointAnimated(viewpoint: Viewpoint, durationSeconds: Float): Result<Boolean>

Change the GeoView to the new viewpoint with animation, taking the given number of seconds to complete the navigation.

Link copied to clipboard
open fun setWillNotCacheDrawing(willNotCacheDrawing: Boolean)
Link copied to clipboard
open fun setWillNotDraw(willNotDraw: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun showContextMenuForChild(originalView: View?): Boolean
open fun showContextMenuForChild(originalView: View?, x: Float, y: Float): Boolean
Link copied to clipboard
Link copied to clipboard
open fun startActionModeForChild(originalView: View?, callback: ActionMode.Callback?): ActionMode?
open fun startActionModeForChild(originalView: View?, callback: ActionMode.Callback?, type: Int): ActionMode?
Link copied to clipboard
open fun startAnimation(animation: Animation?)
Link copied to clipboard
fun startDrag(data: ClipData?, shadowBuilder: View.DragShadowBuilder?, myLocalState: Any?, flags: Int): Boolean
Link copied to clipboard
fun startDragAndDrop(data: ClipData?, shadowBuilder: View.DragShadowBuilder?, myLocalState: Any?, flags: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun startNestedScroll(axes: Int): Boolean
Link copied to clipboard
open fun startViewTransition(view: View?)
Link copied to clipboard
open fun stopNestedScroll()
Link copied to clipboard
open fun suppressLayout(suppress: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun transformMatrixToLocal(matrix: Matrix)
Link copied to clipboard
open fun unscheduleDrawable(who: Drawable, what: Runnable)
Link copied to clipboard
Link copied to clipboard
open fun updateViewLayout(view: View?, params: ViewGroup.LayoutParams?)
Link copied to clipboard
Link copied to clipboard
open fun willNotDraw(): Boolean