Index: trunk/extensions/SemanticMaps/includes/services/GoogleMaps/SM_GoogleMapsQP.php |
— | — | @@ -68,7 +68,7 @@ |
69 | 69 | public function getParameters() { |
70 | 70 | $params = parent::getParameters(); |
71 | 71 | |
72 | | - $allowedTypes = MapsGoogleMaps::getTypeNames(); |
| 72 | + $allowedTypes = array_keys( MapsGoogleMaps::$mapTypes ); |
73 | 73 | |
74 | 74 | $params[] = array( 'name' => 'controls', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_controls' ), 'values' => MapsGoogleMaps::getControlNames() ); |
75 | 75 | $params[] = array( 'name' => 'types', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_types' ), 'values' => $allowedTypes ); |