Skip To Content ArcGIS for Developers Sign In Dashboard

GeoElement Class

(Esri::ArcGISRuntime::GeoElement)

An abstract representation of geographic entities on a map. More...

Public Functions

virtual ~GeoElement()
virtual AttributeListModel *attributes() const = 0
virtual Geometry geometry() const = 0
virtual void setGeometry(const Geometry &geometry) = 0

Protected Functions

Detailed Description

An abstract representation of geographic entities on a map.

A geo-element represents abstract geographic entities on a map. Classes that inherit from GeoElement provide concrete implementations such as graphics in a graphics overlay, features in a layer, and so on.

Member Function Documentation

[protected] GeoElement::GeoElement()

Constructor.

[virtual] GeoElement::~GeoElement()

Destructor.

[pure virtual] AttributeListModel *GeoElement::attributes() const

Gets the attributes of the GeoElement as a list model of key-value pairs.

[pure virtual] Geometry GeoElement::geometry() const

Gets the geometry of the GeoElement.

See also setGeometry().

[pure virtual] void GeoElement::setGeometry(const Geometry &geometry)

Sets the geometry of the GeoElement to geometry.

See also geometry().


Feedback on this topic?