isSelected property
True if the aggregate geoelement is selected, false otherwise.
Selecting an AggregateGeoElement adds a temporary visual selection halo around the aggregate geoelement. Selected aggregate geoelements are rendered according to the GeoViewController.selectionProperties. As a user navigates the map, aggregate geoelements update dynamically depending on the map's scale and extent. When aggregate geoelements are re-created, new aggregate geoelements are drawn. This clears selection halos of any previously referenced AggregateGeoElement. However, properties of the previous referenced aggregate geoelements, such as their geometry, attributes, and associated underlying geoelements can still be accessed.
Note that the selection halo that highlights an aggregate geoelement is transient. In addition to the map's scale and extent changes, changes to underlying properties of AggregationFeatureReduction also result in aggregate geoelements being re-created and re-drawn. When this happens, the existing selection halos on aggregate geoelements are cleared.
Implementation
bool get isSelected {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_AggregateGeoElement_getIsSelected(
_handle,
errorHandler,
);
});
}
Implementation
set isSelected(bool value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_AggregateGeoElement_setIsSelected(
_handle,
value,
errorHandler,
);
});
}