initialViewpoint property

Viewpoint? initialViewpoint

The initial viewpoint when the map or scene is first displayed.

The initial viewpoint value is available when the map or scene is loaded. If you want to change the initial viewpoint, you can do this before you add the map or scene to a GeoViewController. At this point, the GeoViewController's viewpoint is set to this initial viewpoint. Any subsequent changes to the GeoModel.initialViewpoint are ignored.

If you want to change the viewpoint of a displayed map or scene, use methods such as:

Implementation

Viewpoint? get initialViewpoint => _initialViewpoint.value;
void initialViewpoint=(Viewpoint? value)

Implementation

set initialViewpoint(Viewpoint? value) => _initialViewpoint.value = value;