Index: trunk/extensions/SemanticMaps/YahooMaps/SM_YahooMapsFormInput.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | <div id='".$this->mapName."' style='width: {$this->width}px; height: {$this->height}px;'></div> |
76 | 76 | |
77 | 77 | <script type='$wgJsMimeType'>/*<![CDATA[*/ |
78 | | - addOnloadHook(makeFormInputYahooMap('$this->mapName', '$this->coordsFieldName', $this->centre_lat, $this->centre_lon, $this->zoom, $type, [$typesString], [$this->controls], $this->autozoom, $this->marker_lat, $this->centre_lon, $this->height)); |
| 78 | + addOnloadHook(makeFormInputYahooMap('$this->mapName', '$this->coordsFieldName', $this->centre_lat, $this->centre_lon, $this->zoom, $this->type, [$this->$types], [$this->controls], $this->autozoom, $this->marker_lat, $this->centre_lon, $this->height)); |
79 | 79 | /*]]>*/</script>"; |
80 | 80 | }
|
81 | 81 |
|
Index: trunk/extensions/SemanticMaps/OpenLayers/SM_OpenLayersFunctions.js |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | if (!window.OLMaps) window.OLMaps = new Object; |
62 | 62 | eval("window.OLMaps." + mapName + " = map;"); |
63 | 63 | } |
64 | | - |
| 64 | + |
65 | 65 | /** |
66 | 66 | * Remove all markers from an OL map (that's in window.OLMaps), and place a new one. |
67 | 67 | * |
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.3 a1'); |
| 39 | + define('SM_VERSION', '0.5.3 a2'); |
40 | 40 | |
41 | 41 | $smgScriptPath = $wgScriptPath . '/extensions/SemanticMaps'; |
42 | 42 | $smgIP = $IP . '/extensions/SemanticMaps'; |
Index: trunk/extensions/SemanticMaps/QueryPrinters/SM_QueryPrinters.php |
— | — | @@ -22,7 +22,6 @@ |
23 | 23 | */ |
24 | 24 | public static function initialize() { |
25 | 25 | global $smgIP, $wgAutoloadClasses, $egMapsServices; |
26 | | - |
27 | 26 | $wgAutoloadClasses['SMMapPrinter'] = $smgIP . '/QueryPrinters/SM_MapPrinter.php'; |
28 | 27 | |
29 | 28 | self::initializeParams(); |