diff options
Diffstat (limited to 'www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js')
-rw-r--r-- | www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js b/www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js index d0317d16..d76460d5 100644 --- a/www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js +++ b/www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js @@ -233,7 +233,9 @@ var geoXml = new geoXML3.parser({ map:_this.map, zoom:options.kmlrezoom, - failedParse:function(){ + failedParse:function(document){ + console.log(options.kml); + console.log(document); alert(mw.msg('maps-kml-parsing-failed')); } }); @@ -454,7 +456,7 @@ }; this.createMarkerCluster = function() { - if ( !options.markercluster ) { + if ( !options.cluster ) { return; } if (this.markercluster) { @@ -751,7 +753,7 @@ //Add custom controls // - Fullscreen - if(options.enablefullscreen){ + if(options.fullscreen){ this.map.controls[google.maps.ControlPosition.TOP_RIGHT].push(new FullscreenControl(this.map)); } }; @@ -886,7 +888,7 @@ //Complete path to OpenLayers WMS layer - if (!options.markercluster) { + if (!options.cluster) { this.setup(); } else { mw.loader.using( 'ext.maps.gm3.markercluster', function() { |