setViewPoint method

void setViewPoint(
  1. AGMLViewPoint viewPoint
)

Implementation

void setViewPoint(AGMLViewPoint viewPoint) {
  const method = '/setViewPoint';
  try {
    _channel.invokeMethod(method, viewPoint.toJson());
  } on PlatformException catch (e) {
    if(kDebugMode) print(e);
  }
}