setZoom method
Implementation
Future<void> setZoom({double? zoomLevel, double? stepZoom}) async {
assert(zoomLevel != null || stepZoom != null);
if (zoomLevel != null) {
await interop.setZoom(mapIdMixin.toJS, zoomLevel.toJS).toDart;
} else if (stepZoom != null) {
await interop.setZoomStep(mapIdMixin.toJS, stepZoom.toJS).toDart;
}
}