
jeroendedauw at svn
Nov 17, 2009, 6:15 AM
Post #1 of 1
(63 views)
Permalink
|
|
SVN: [59171] trunk/extensions/SemanticMaps
|
|
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/59171 Revision: 59171 Author: jeroendedauw Date: 2009-11-17 14:15:03 +0000 (Tue, 17 Nov 2009) Log Message: ----------- Changes for 0.5. http://www.mediawiki.org/wiki/Extension:Semantic_Maps/Future#Semantic_Maps_0.5 Modified Paths: -------------- trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsFormInput.php trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsQP.php trunk/extensions/SemanticMaps/SemanticMaps.php Modified: trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsFormInput.php =================================================================== --- trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsFormInput.php 2009-11-17 14:14:40 UTC (rev 59170) +++ trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsFormInput.php 2009-11-17 14:15:03 UTC (rev 59171) @@ -73,8 +73,6 @@ protected function addSpecificMapHTML() { global $wgJsMimeType; - $enableEarth = MapsGoogleMapsUtils::getEarthValue($this->earth); - $this->autozoom = MapsGoogleMapsUtils::getAutozoomJSValue($this->autozoom); $this->type = MapsGoogleMapsUtils::getGMapType($this->type, true); @@ -88,7 +86,7 @@ $this->types = explode(",", $this->types); - $typesString = MapsGoogleMapsUtils::createTypesString($this->types, $enableEarth); + $typesString = MapsGoogleMapsUtils::createTypesString($this->types); $this->output .= " <div id='".$this->mapName."' class='".$this->class."'></div> Modified: trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsQP.php =================================================================== --- trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsQP.php 2009-11-17 14:14:40 UTC (rev 59170) +++ trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsQP.php 2009-11-17 14:15:03 UTC (rev 59171) @@ -55,10 +55,8 @@ */ protected function addSpecificMapHTML() { global $wgJsMimeType; - - $enableEarth = MapsGoogleMapsUtils::getEarthValue($this->earth); - // Get the Google Maps names for the control and map types + // Get the Google Maps names for the control and map types. $this->type = MapsGoogleMapsUtils::getGMapType($this->type, true); $this->controls = MapsGoogleMapsUtils::createControlsString($this->controls); @@ -83,7 +81,7 @@ $this->types = explode(",", $this->types); - $typesString = MapsGoogleMapsUtils::createTypesString($this->types, $enableEarth); + $typesString = MapsGoogleMapsUtils::createTypesString($this->types); $this->output .= <<<END <div id="$this->mapName" class="$this->class" style="$this->style" ></div> Modified: trunk/extensions/SemanticMaps/SemanticMaps.php =================================================================== --- trunk/extensions/SemanticMaps/SemanticMaps.php 2009-11-17 14:14:40 UTC (rev 59170) +++ trunk/extensions/SemanticMaps/SemanticMaps.php 2009-11-17 14:15:03 UTC (rev 59171) @@ -23,7 +23,7 @@ die( 'Not an entry point.' ); } -define('SM_VERSION', '0.4.2 rc2'); +define('SM_VERSION', '0.5 a1'); $smgScriptPath = $wgScriptPath . '/extensions/SemanticMaps'; $smgIP = $IP . '/extensions/SemanticMaps'; _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS [at] lists https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
|