GeoElement

interface GeoElement

An abstract representation of geographic entities in a map, scene, map view or scene view. Each geographic entity can possess geometry, to describe the location and shape of the entity, and a set of attributes to provide information about the real-world entity it represents. For example, a feature in a feature layer, a graphic in a graphics overlay, and a raster cell in a raster layer are represented by the com.arcgismaps.data.Feature, com.arcgismaps.mapping.view.Graphic, and com.arcgismaps.mapping.layers.RasterCell classes. Each class inherits from GeoElement.

Operations that identify all of the layers in a map or scene, such as com.arcgismaps.mapping.view.GeoView.identifyLayers, can return a collection of com.arcgismaps.mapping.view.IdentifyLayerResult objects. You can obtain the various types of GeoElement objects using com.arcgismaps.mapping.view.IdentifyLayerResult.geoElements.

Since

200.1.0

See also

GeoView.identifyLayers

(ScreenCoordinate, Double, Boolean)

Inheritors

Properties

Link copied to clipboard
abstract val attributes: Map<String, Any?>

The attributes of the GeoElement as a collection of name/value pairs.

Link copied to clipboard
abstract val geometry: Geometry?

The geometry defines the shape and location of the GeoElement.