Index: trunk/extensions/Maps/OpenLayers/Maps_OpenLayers.php |
— | — | @@ -54,6 +54,7 @@ |
55 | 55 | global $egMapsServices, $egMapsOLLayers, $egMapsOLControls, $egMapsOpenLayersZoom; |
56 | 56 | |
57 | 57 | $egMapsServices[self::SERVICE_NAME]['parameters']['default'] = $egMapsOpenLayersZoom; |
| 58 | + $egMapsServices[self::SERVICE_NAME]['parameters']['zoom']['criteria']['in_range'] = array(0, 19); |
58 | 59 | |
59 | 60 | $egMapsServices[self::SERVICE_NAME]['parameters'] = array( |
60 | 61 | 'controls' => array( |
Index: trunk/extensions/Maps/OpenStreetMap/Maps_OSM.php |
— | — | @@ -52,6 +52,7 @@ |
53 | 53 | global $egMapsServices, $egMapsOSMZoom, $egMapsOSMControls; |
54 | 54 | |
55 | 55 | $egMapsServices[self::SERVICE_NAME]['parameters']['default'] = $egMapsOSMZoom; |
| 56 | + $egMapsServices[self::SERVICE_NAME]['parameters']['zoom']['criteria']['in_range'] = array(0, 19); |
56 | 57 | |
57 | 58 | $egMapsServices[self::SERVICE_NAME]['parameters'] = array( |
58 | 59 | 'controls' => array( |
Index: trunk/extensions/Maps/Maps_Mapper.php |
— | — | @@ -31,8 +31,7 @@ |
32 | 32 | 'zoom' => array( |
33 | 33 | 'type' => 'integer', |
34 | 34 | 'criteria' => array( |
35 | | - 'not_empty' => array(), |
36 | | - 'in_range' => array(0, 15) |
| 35 | + 'not_empty' => array() |
37 | 36 | ) |
38 | 37 | ), |
39 | 38 | 'width' => array( |
Index: trunk/extensions/Maps/GoogleMaps/Maps_GoogleMaps.php |
— | — | @@ -55,6 +55,7 @@ |
56 | 56 | $allowedTypes = self::getTypeNames(); |
57 | 57 | |
58 | 58 | $egMapsServices[self::SERVICE_NAME]['parameters']['default'] = $egMapsGoogleMapsZoom; |
| 59 | + $egMapsServices[self::SERVICE_NAME]['parameters']['zoom']['criteria']['in_range'] = array(0, 20); |
59 | 60 | |
60 | 61 | $egMapsServices[self::SERVICE_NAME]['parameters'] = array( |
61 | 62 | 'controls' => array( |
Index: trunk/extensions/Maps/YahooMaps/Maps_YahooMaps.php |
— | — | @@ -54,6 +54,7 @@ |
55 | 55 | $allowedTypes = MapsYahooMaps::getTypeNames(); |
56 | 56 | |
57 | 57 | $egMapsServices[self::SERVICE_NAME]['parameters']['default'] = $egMapsYahooMapsZoom; |
| 58 | + $egMapsServices[self::SERVICE_NAME]['parameters']['zoom']['criteria']['in_range'] = array(1, 13); |
58 | 59 | |
59 | 60 | $egMapsServices[self::SERVICE_NAME]['parameters'] = array( |
60 | 61 | 'controls' => array( |