spatialReference property
The spatial reference defines the coordinate system used by the map or scene in the GeoViewController.
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.
The value is null until the GeoModel.loadStatus is loaded and the GeoViewController.drawStatus is complete.
Implementation
SpatialReference? get spatialReference {
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GeoView_getSpatialReference(
_handle,
errorHandler,
);
});
return SpatialReference._fromHandle(
objectHandle,
);
}