]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrmap.git/blobdiff - wrmap.php
Now map features are highlighted when the mouse moves over them.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / wrmap.php
index 7cf4e017d96e408bf88a7b22a0434f30b2845e45..94a6950a3f1ac03de356802952ca67f217a5de50 100644 (file)
--- a/wrmap.php
+++ b/wrmap.php
@@ -120,6 +120,7 @@ Definition
                * <haltestelle>
                * <parkplatz>
                * <achtung>
+               * <foto>
                * <punkt>
                * <rodelbahn>
                * <alternative>
@@ -129,7 +130,7 @@ Definition
                * <linie>
        * The order may be used by the renderer to determine in which order the 
          elements should be drawn.
-* <gasthaus>, <haltestelle>, <parkplatz>, <achtung> and <punkt> define points
+* <gasthaus>, <haltestelle>, <parkplatz>, <achtung>, <foto> and <punkt> define points
        * The elements may have the following attributes:
                * name (string): defines the name (not the label) of the element
                * wiki (string): name of a MediaWiki page the point refers to
@@ -143,8 +144,8 @@ Definition
                coordinates.
 
 
-For transmitting the map to javascript, geojson is used in a <script> block. This way,
-an extra request is avoided. The geojson format used here consists of a single 
+For transmitting the map to javascript, geojson is used in the <div> element of the map.
+This way, an extra request is avoided. The geojson format used here consists of a single
 "FeatureCollection" (representing the <wrmap>) containing the sub-elements of wrmap
 as features.
 The features have an properties key that has a hash as values with the properties of 
@@ -160,7 +161,7 @@ the wrmap element.
 
 $wgExtensionCredits['parserhook'][] = array(
        'name' => 'Winterrodeln Map',
-       'version' => '3.0.0',
+       'version' => '3.2.0',
        'author' =>'Philipp Spitzer', 
        'url' => 'http://www.winterrodeln.org/trac/wiki/WrMap', 
        'description' => 'This extension creates a map using OpenLayers to show sledrun details and sledrun overviews.'