Index: trunk/extensions/Maps/includes/services/OpenLayers/OpenLayerFunctions.js |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | break; |
25 | 25 | } |
26 | 26 | } |
27 | | - |
| 27 | + |
28 | 28 | // Create a new OpenLayers map with without any controls on it. |
29 | 29 | var mapOptions = { |
30 | 30 | controls: [] |
Index: trunk/extensions/Maps/includes/services/OpenLayers/Maps_OpenLayers.php |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | $defaultGroup = wfMsg( 'maps-markers' ); |
89 | 89 | //.// TODO |
90 | 90 | foreach ( $markers as $marker ) { |
91 | | - $markerItems[false ? $marker[5] : $defaultGroup] = MapsMapper::encodeJsVar( (object)array( |
| 91 | + $markerItems[] = MapsMapper::encodeJsVar( (object)array( |
92 | 92 | 'lat' => $marker[0], |
93 | 93 | 'lon' => $marker[1], |
94 | 94 | 'title' => $marker[2], |