withLocation method
Returns options with the camera at the geographic location and
altitude in meters above sea level.
If altitude is null, the camera keeps its current altitude, or uses
0 if FreeCameraOptions.position is null. Latitudes beyond ±85.051129 are
clamped. The orientation does not change.
Implementation
FreeCameraOptions withLocation(Point location, {double? altitude}) =>
copyWith(position: _toMercator(location, altitude ?? this.altitude ?? 0));