Index: branches/SemanticMaps0.8/includes/services/GoogleMaps/SM_GoogleMapsQP.php |
— | — | @@ -27,24 +27,4 @@ |
28 | 28 | . parent::getMapHTML( $params, $parser, $mapName ); |
29 | 29 | } |
30 | 30 | |
31 | | - /** |
32 | | - * Returns type info, descriptions and allowed values for this QP's parameters after adding the |
33 | | - * specific ones to the list. |
34 | | - * |
35 | | - * @return array |
36 | | - */ |
37 | | - public function getParameters() { |
38 | | - $params = parent::getParameters(); |
39 | | - |
40 | | - $allowedTypes = array_keys( MapsGoogleMaps::$mapTypes ); |
41 | | - |
42 | | - $params[] = array( 'name' => 'controls', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_controls' ), 'values' => MapsGoogleMaps::getControlNames() ); |
43 | | - $params[] = array( 'name' => 'types', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_types' ), 'values' => $allowedTypes ); |
44 | | - $params[] = array( 'name' => 'type', 'type' => 'enumeration', 'description' => wfMsg( 'semanticmaps_paramdesc_type' ), 'values' => $allowedTypes ); |
45 | | - $params[] = array( 'name' => 'overlays', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_overlays' ), 'values' => MapsGoogleMaps::getOverlayNames() ); |
46 | | - $params[] = array( 'name' => 'autozoom', 'type' => 'enumeration', 'description' => wfMsg( 'semanticmaps_paramdesc_autozoom' ), 'values' => array( 'on', 'off' ) ); |
47 | | - |
48 | | - return $params; |
49 | | - } |
50 | | - |
51 | 31 | } |
Index: branches/SemanticMaps0.8/includes/services/GoogleMaps3/SM_GoogleMaps3QP.php |
— | — | @@ -17,18 +17,4 @@ |
18 | 18 | return 'googlemaps3'; |
19 | 19 | } |
20 | 20 | |
21 | | - /** |
22 | | - * Returns type info, descriptions and allowed values for this QP's parameters after adding the |
23 | | - * specific ones to the list. |
24 | | - * |
25 | | - * @return array |
26 | | - */ |
27 | | - public function getParameters() { |
28 | | - $params = parent::getParameters(); |
29 | | - |
30 | | - // TODO |
31 | | - |
32 | | - return $params; |
33 | | - } |
34 | | - |
35 | 21 | } |
Index: branches/SemanticMaps0.8/includes/services/YahooMaps/SM_YahooMapsQP.php |
— | — | @@ -16,24 +16,5 @@ |
17 | 17 | protected function getServiceName() { |
18 | 18 | return 'yahoomaps'; |
19 | 19 | } |
20 | | - |
21 | | - /** |
22 | | - * Returns type info, descriptions and allowed values for this QP's parameters after adding the |
23 | | - * specific ones to the list. |
24 | | - * |
25 | | - * @return array |
26 | | - */ |
27 | | - public function getParameters() { |
28 | | - $params = parent::getParameters(); |
29 | | - |
30 | | - $allowedTypes = MapsYahooMaps::getTypeNames(); |
31 | | - |
32 | | - $params[] = array( 'name' => 'controls', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_controls' ), 'values' => MapsYahooMaps::getControlNames() ); |
33 | | - $params[] = array( 'name' => 'types', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_types' ), 'values' => $allowedTypes ); |
34 | | - $params[] = array( 'name' => 'type', 'type' => 'enumeration', 'description' => wfMsg( 'semanticmaps_paramdesc_type' ), 'values' => $allowedTypes ); |
35 | | - $params[] = array( 'name' => 'autozoom', 'type' => 'enumeration', 'description' => wfMsg( 'semanticmaps_paramdesc_autozoom' ), 'values' => array( 'on', 'off' ) ); |
36 | | - |
37 | | - return $params; |
38 | | - } |
39 | 20 | |
40 | 21 | } |
Index: branches/SemanticMaps0.8/includes/services/OpenLayers/SM_OpenLayersQP.php |
— | — | @@ -17,19 +17,4 @@ |
18 | 18 | return 'openlayers'; |
19 | 19 | } |
20 | 20 | |
21 | | - /** |
22 | | - * Returns type info, descriptions and allowed values for this QP's parameters after adding the |
23 | | - * specific ones to the list. |
24 | | - * |
25 | | - * @return array |
26 | | - */ |
27 | | - public function getParameters() { |
28 | | - $params = parent::getParameters(); |
29 | | - |
30 | | - $params[] = array( 'name' => 'controls', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_controls' ), 'values' => MapsOpenLayers::getControlNames() ); |
31 | | - $params[] = array( 'name' => 'layers', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_layers' ), 'values' => MapsOpenLayers::getLayerNames() ); |
32 | | - |
33 | | - return $params; |
34 | | - } |
35 | | - |
36 | 21 | } |