final MapView mapView = getMapView();
if (mapView == null) {
return;
}
final MapModel map = mapView.getModel();
final MapStyle mapStyle = mapView.getModeController().getExtension(MapStyle.class);
if(mapView.getZoom() == zoom){
return;
}
mapStyle.setZoom(map, zoom);
mapView.setZoom(zoom);
setZoomComboBox(zoom);
final Object[] messageArguments = { String.valueOf(zoom * 100f) };
final String stringResult = TextUtils.format("user_defined_zoom_status_bar", messageArguments);
controller.getViewController().out(stringResult);