Index: trunk/extensions/Maps/INSTALL |
— | — | @@ -1,4 +1,4 @@ |
2 | | -[[Maps 1.0.1]] |
| 2 | +[[Maps 1.0.2]] |
3 | 3 | |
4 | 4 | In order to use this version of Maps, you need to have Validator 0.3.6 installed. If you get a distribution |
5 | 5 | from this page, you don't need to bother this, since Validator comes bundled with every release, and will |
Index: trunk/extensions/Maps/Maps.php |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | die( '<b>Error:</b> You need to have <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> installed in order to use <a href="http://www.mediawiki.org/wiki/Extension:Maps">Maps</a>.<br />' ); |
43 | 43 | } |
44 | 44 | |
45 | | -define( 'Maps_VERSION', '1.0.1' ); |
| 45 | +define( 'Maps_VERSION', '1.0.2 alpha' ); |
46 | 46 | |
47 | 47 | $wgExtensionCredits['parserhook'][] = array( |
48 | 48 | 'path' => __FILE__, |
Index: trunk/extensions/Maps/RELEASE-NOTES |
— | — | @@ -7,6 +7,11 @@ |
8 | 8 | http://mapping.referata.com/wiki/Maps/Version_history#Maps_change_log |
9 | 9 | |
10 | 10 | |
| 11 | +=== Maps 1.0.2 === |
| 12 | +(2011-08-xx) |
| 13 | + |
| 14 | +* Fixed Google Maps v3 JavaScript issue when using Google Earth on unsuported systems. |
| 15 | + |
11 | 16 | === Maps 1.0.1 === |
12 | 17 | (2011-08-17) |
13 | 18 | |
Index: trunk/extensions/Maps/includes/services/GoogleMaps3/jquery.googlemap.js |
— | — | @@ -127,6 +127,8 @@ |
128 | 128 | } |
129 | 129 | }; |
130 | 130 | |
| 131 | + this.options = options; |
| 132 | + |
131 | 133 | var showEarth = $.inArray( 'earth', options.types ) !== -1; |
132 | 134 | |
133 | 135 | // If there are any non-Google KML/KMZ layers, load the geoxml library and use it to add these layers. |
— | — | @@ -138,7 +140,6 @@ |
139 | 141 | disableDefaultUI: true, |
140 | 142 | mapTypeId: options.type == 'earth' ? google.maps.MapTypeId.SATELLITE : eval( 'google.maps.MapTypeId.' + options.type ) |
141 | 143 | }; |
142 | | - this.options = options; |
143 | 144 | |
144 | 145 | // Map controls |
145 | 146 | mapOptions.panControl = $.inArray( 'pan', options.controls ) != -1; |
— | — | @@ -258,11 +259,11 @@ |
259 | 260 | } |
260 | 261 | }; |
261 | 262 | |
| 263 | + map.setMapTypeId( GoogleEarth.MAP_TYPE_ID ); |
262 | 264 | setTilt(); |
263 | 265 | } |
264 | 266 | |
265 | 267 | _this.addOverlays(); |
266 | | - map.setMapTypeId( GoogleEarth.MAP_TYPE_ID ); |
267 | 268 | } ); |
268 | 269 | } } ); |
269 | 270 | } |