Index: trunk/extensions/SemanticMaps/RELEASE-NOTES |
— | — | @@ -18,6 +18,8 @@ |
19 | 19 | |
20 | 20 | * Support for images without namespace prefix in the statispoints parameter in map ask queries. |
21 | 21 | |
| 22 | +* Fixed several issue with the OpenLayers form input. |
| 23 | + |
22 | 24 | === Semantic Maps 0.7 === |
23 | 25 | (2010-10-15) |
24 | 26 | |
Index: trunk/extensions/SemanticMaps/includes/services/OpenLayers/SM_OpenLayersQP.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | ), |
35 | 35 | wfMsg( 'maps-loading-map' ) |
36 | 36 | ); |
37 | | - |
| 37 | + |
38 | 38 | $this->service->addLayerDependencies( $this->layers[1] ); |
39 | 39 | |
40 | 40 | $langCode = $wgLang->getCode(); |
Index: trunk/extensions/SemanticMaps/includes/SM_GeoCoordsValue.php |
— | — | @@ -221,8 +221,8 @@ |
222 | 222 | // var_dump($args);exit; |
223 | 223 | } |
224 | 224 | else { |
225 | | - $this->coordinateSet['lat'] = $args[0]; |
226 | | - $this->coordinateSet['lon'] = $args[1]; |
| 225 | + $this->coordinateSet['lat'] = (float)$args[0]; |
| 226 | + $this->coordinateSet['lon'] = (float)$args[1]; |
227 | 227 | } |
228 | 228 | |
229 | 229 | $this->m_caption = MapsCoordinateParser::formatCoordinates( |
Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php |
— | — | @@ -255,6 +255,11 @@ |
256 | 256 | } |
257 | 257 | } |
258 | 258 | |
| 259 | + /** |
| 260 | + * Adds the static locations (specified via the staticlocations parameter) to the map. |
| 261 | + * |
| 262 | + * @since 0.7 |
| 263 | + */ |
259 | 264 | protected function addStaticLocations() { |
260 | 265 | global $wgTitle; |
261 | 266 | |