Index: trunk/extensions/SemanticMaps/YahooMaps/SM_YahooMaps.php |
— | — | @@ -20,5 +20,5 @@ |
21 | 21 | die( 'Not an entry point.' ); |
22 | 22 | } |
23 | 23 | |
24 | | -$egMapsServices['yahoomaps']['qp'] = array('class' => 'SMYahooMapsQP', 'file' => 'SemanticMaps/YahooMaps/SM_YahooMapsQP.php', 'local' => false); |
25 | | -$egMapsServices['yahoomaps']['fi'] = array('class' => 'SMYahooMapsFormInput', 'file' => 'SemanticMaps/YahooMaps/SM_YahooMapsFormInput.php', 'local' => false); |
\ No newline at end of file |
| 24 | +$egMapsServices['yahoomaps']['qp'] = array('class' => 'SMYahooMapsQP', 'file' => 'extensions/SemanticMaps/YahooMaps/SM_YahooMapsQP.php', 'local' => false); |
| 25 | +$egMapsServices['yahoomaps']['fi'] = array('class' => 'SMYahooMapsFormInput', 'file' => 'extensions/SemanticMaps/YahooMaps/SM_YahooMapsFormInput.php', 'local' => false); |
\ No newline at end of file |
Index: trunk/extensions/SemanticMaps/YahooMaps/SM_YahooMapsQP.php |
— | — | @@ -25,13 +25,7 @@ |
26 | 26 | |
27 | 27 | $this->elementNamePrefix = $egMapsYahooMapsPrefix; |
28 | 28 | |
29 | | - $this->defaultZoom = $egMapsYahooMapsZoom; |
30 | | - |
31 | | - $this->spesificParameters = array( |
32 | | - 'zoom' => array( |
33 | | - 'default' => '', |
34 | | - ) |
35 | | - ); |
| 29 | + $this->defaultZoom = $egMapsYahooMapsZoom; |
36 | 30 | } |
37 | 31 | |
38 | 32 | /** |
Index: trunk/extensions/SemanticMaps/OpenLayers/SM_OpenLayers.php |
— | — | @@ -20,5 +20,5 @@ |
21 | 21 | die( 'Not an entry point.' ); |
22 | 22 | } |
23 | 23 | |
24 | | -$egMapsServices['openlayers']['qp'] = array('class' => 'SMOpenLayersQP', 'file' => 'SemanticMaps/OpenLayers/SM_OpenLayersQP.php', 'local' => false); |
25 | | -$egMapsServices['openlayers']['fi'] = array('class' => 'SMOpenLayersFormInput', 'file' => 'SemanticMaps/OpenLayers/SM_OpenLayersFormInput.php', 'local' => false); |
\ No newline at end of file |
| 24 | +$egMapsServices['openlayers']['qp'] = array('class' => 'SMOpenLayersQP', 'file' => 'extensions/SemanticMaps/OpenLayers/SM_OpenLayersQP.php', 'local' => false); |
| 25 | +$egMapsServices['openlayers']['fi'] = array('class' => 'SMOpenLayersFormInput', 'file' => 'extensions/SemanticMaps/OpenLayers/SM_OpenLayersFormInput.php', 'local' => false); |
\ No newline at end of file |
Index: trunk/extensions/SemanticMaps/OpenLayers/SM_OpenLayersQP.php |
— | — | @@ -25,13 +25,7 @@ |
26 | 26 | global $egMapsOpenLayersZoom, $egMapsOpenLayersPrefix; |
27 | 27 | |
28 | 28 | $this->elementNamePrefix = $egMapsOpenLayersPrefix; |
29 | | - $this->defaultZoom = $egMapsOpenLayersZoom; |
30 | | - |
31 | | - $this->spesificParameters = array( |
32 | | - 'zoom' => array( |
33 | | - 'default' => '', |
34 | | - ) |
35 | | - ); |
| 29 | + $this->defaultZoom = $egMapsOpenLayersZoom; |
36 | 30 | } |
37 | 31 | |
38 | 32 | /** |
Index: trunk/extensions/SemanticMaps/OpenStreetMap/SM_OSM.php |
— | — | @@ -20,5 +20,5 @@ |
21 | 21 | die( 'Not an entry point.' ); |
22 | 22 | } |
23 | 23 | |
24 | | -$egMapsServices['osm']['qp'] = array('class' => 'SMOSMQP', 'file' => 'SemanticMaps/OpenStreetMap/SM_OSMQP.php', 'local' => false); |
25 | | -//$egMapsServices['osm']['fi'] = array('class' => 'SMOSMFormInput', 'file' => 'SemanticMaps/OpenStreetMap/SM_OSMFormInput.php', 'local' => false); |
\ No newline at end of file |
| 24 | +$egMapsServices['osm']['qp'] = array('class' => 'SMOSMQP', 'file' => 'extensions/SemanticMaps/OpenStreetMap/SM_OSMQP.php', 'local' => false); |
| 25 | +//$egMapsServices['osm']['fi'] = array('class' => 'SMOSMFormInput', 'file' => 'extensions/SemanticMaps/OpenStreetMap/SM_OSMFormInput.php', 'local' => false); |
\ No newline at end of file |
Index: trunk/extensions/SemanticMaps/OpenStreetMap/SM_OSMQP.php |
— | — | @@ -25,13 +25,7 @@ |
26 | 26 | global $egMapsOSMZoom, $egMapsOSMPrefix; |
27 | 27 | |
28 | 28 | $this->elementNamePrefix = $egMapsOSMPrefix; |
29 | | - $this->defaultZoom = $egMapsOSMZoom; |
30 | | - |
31 | | - $this->spesificParameters = array( |
32 | | - 'zoom' => array( |
33 | | - 'default' => '', |
34 | | - ) |
35 | | - ); |
| 29 | + $this->defaultZoom = $egMapsOSMZoom; |
36 | 30 | } |
37 | 31 | |
38 | 32 | /** |
Index: trunk/extensions/SemanticMaps/SemanticMaps.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | |
37 | 37 | // Only initialize the extension when all dependencies are present. |
38 | 38 | if (defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' )) { |
39 | | - define('SM_VERSION', '0.5.1 a7'); |
| 39 | + define('SM_VERSION', '0.5.1 a8'); |
40 | 40 | |
41 | 41 | $smgScriptPath = $wgScriptPath . '/extensions/SemanticMaps'; |
42 | 42 | $smgIP = $IP . '/extensions/SemanticMaps'; |
Index: trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMaps.php |
— | — | @@ -20,5 +20,5 @@ |
21 | 21 | die( 'Not an entry point.' ); |
22 | 22 | } |
23 | 23 | |
24 | | -$egMapsServices['googlemaps']['qp'] = array('class' => 'SMGoogleMapsQP', 'file' => 'SemanticMaps/GoogleMaps/SM_GoogleMapsQP.php', 'local' => false); |
25 | | -$egMapsServices['googlemaps']['fi'] = array('class' => 'SMGoogleMapsFormInput', 'file' => 'SemanticMaps/GoogleMaps/SM_GoogleMapsFormInput.php', 'local' => false); |
\ No newline at end of file |
| 24 | +$egMapsServices['googlemaps']['qp'] = array('class' => 'SMGoogleMapsQP', 'file' => 'extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsQP.php', 'local' => false); |
| 25 | +$egMapsServices['googlemaps']['fi'] = array('class' => 'SMGoogleMapsFormInput', 'file' => 'extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsFormInput.php', 'local' => false); |
\ No newline at end of file |
Index: trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsQP.php |
— | — | @@ -25,22 +25,19 @@ |
26 | 26 | * |
27 | 27 | */ |
28 | 28 | protected function setQueryPrinterSettings() { |
29 | | - global $egMapsGoogleMapsZoom, $egMapsGoogleMapsPrefix; |
| 29 | + global $egMapsGoogleMapsZoom, $egMapsGoogleMapsPrefix, $egMapsGMapOverlays; |
30 | 30 | |
31 | 31 | $this->elementNamePrefix = $egMapsGoogleMapsPrefix; |
32 | 32 | |
33 | 33 | $this->defaultZoom = $egMapsGoogleMapsZoom; |
34 | 34 | |
35 | 35 | $this->spesificParameters = array( |
36 | | - 'zoom' => array( |
37 | | - 'default' => '', |
38 | | - ), |
39 | 36 | 'overlays' => array( |
40 | 37 | 'type' => array('string', 'list'), |
41 | 38 | 'criteria' => array( |
42 | 39 | 'is_google_overlay' => array() |
43 | | - ), |
44 | | - 'output-type' => 'array' |
| 40 | + ), |
| 41 | + 'default' => $egMapsGMapOverlays, |
45 | 42 | ), |
46 | 43 | ); |
47 | 44 | } |