private static void CheckZoomLevels(float minZoom, float midZoom,
float maxZoom)
{
if (minZoom >= midZoom) {
throw new Java.Lang.IllegalArgumentException(
"MinZoom has to be less than MidZoom");
} else if (midZoom >= maxZoom) {
throw new Java.Lang.IllegalArgumentException(
"MidZoom has to be less than MaxZoom");
}
}