http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68829
Revision: 68829 Author: jeroendedauw Date: 2010-07-01 11:42:52 +0000 (Thu, 01 Jul 2010) Log Message: ----------- Patch to enable KML for google maps submitted by 67.170.217.247 Modified Paths: -------------- trunk/extensions/SemanticMaps/SemanticMaps.php trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsFormInput.php trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsQP.php Modified: trunk/extensions/SemanticMaps/SemanticMaps.php =================================================================== --- trunk/extensions/SemanticMaps/SemanticMaps.php 2010-07-01 11:42:44 UTC (rev 68828) +++ trunk/extensions/SemanticMaps/SemanticMaps.php 2010-07-01 11:42:52 UTC (rev 68829) @@ -35,7 +35,7 @@ // Only initialize the extension when all dependencies are present. if ( defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' ) ) { - define( 'SM_VERSION', '0.6.4 a3' ); + define( 'SM_VERSION', '0.6.4 a4' ); $smgScriptPath = ( isset( $wgExtensionAssetsPath ) && $wgExtensionAssetsPath ? $wgExtensionAssetsPath : $wgScriptPath . '/extensions' ) . '/SemanticMaps'; $smgDir = dirname( __FILE__ ) . '/'; Modified: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsFormInput.php =================================================================== --- trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsFormInput.php 2010-07-01 11:42:44 UTC (rev 68828) +++ trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsFormInput.php 2010-07-01 11:42:52 UTC (rev 68829) @@ -98,7 +98,8 @@ type: $this->type, types: [$this->types], controls: [$this->controls], - scrollWheelZoom: $this->autozoom + scrollWheelZoom: $this->autozoom, + kml: '$this->kml' }, {$this->markerCoords['lat']}, {$this->markerCoords['lon']} Modified: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsQP.php =================================================================== --- trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsQP.php 2010-07-01 11:42:44 UTC (rev 68828) +++ trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsQP.php 2010-07-01 11:42:52 UTC (rev 68829) @@ -89,7 +89,8 @@ type: $this->type, types: [$this->types], controls: [$this->controls], - scrollWheelZoom: $this->autozoom + scrollWheelZoom: $this->autozoom, + kml: '$this->kml' }, [$markersString] ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs