Index: trunk/extensions/Maps/Maps_Settings.php |
— | — | @@ -221,6 +221,7 @@ |
222 | 222 | $egMapsGMaps3AutoInfoWindows = false; |
223 | 223 | |
224 | 224 | # Array. Layers to load by default. |
| 225 | + # traffic and bicycling |
225 | 226 | $egMapsGMaps3Layers = array(); |
226 | 227 | |
227 | 228 | # Integer. Default tilt when using Google Maps. |
Index: trunk/extensions/Maps/includes/services/GoogleMaps3/jquery.googlemap.js |
— | — | @@ -115,7 +115,7 @@ |
116 | 116 | var kmlLayer = new google.maps.KmlLayer( |
117 | 117 | options.gkml[i], |
118 | 118 | { |
119 | | - map: map, |
| 119 | + map: this.map, |
120 | 120 | preserveViewport: !options.kmlrezoom |
121 | 121 | } |
122 | 122 | ); |
— | — | @@ -124,7 +124,7 @@ |
125 | 125 | // If there are any non-Google KML/KMZ layers, load the geoxml library and use it to add these layers. |
126 | 126 | if ( options.kml.length != 0 ) { |
127 | 127 | mw.loader.using( 'ext.maps.gm3.geoxml', function() { |
128 | | - var geoXml = new geoXML3.parser( { map: map, zoom: options.kmlrezoom } ); |
| 128 | + var geoXml = new geoXML3.parser( { map: this.map, zoom: options.kmlrezoom } ); |
129 | 129 | |
130 | 130 | for ( i = options.kml.length - 1; i >= 0; i-- ) { |
131 | 131 | geoXml.parse( options.kml[i] ); |