setViewpoint method

void setViewpoint(
  1. Viewpoint viewpoint
)

Pan or zoom the GeoViewController to the specified Viewpoint location.

Parameters:

  • viewpoint — The viewpoint.

Implementation

void setViewpoint(Viewpoint viewpoint) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GeoView_setViewpoint(
        _handle, viewpoint._handle, errorHandler);
  });
}