summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2021-10-19 20:24:11 -0300
committerYaco <franco@reevo.org>2021-10-19 20:24:11 -0300
commite3880a1c86acaa3bbd05786ad2f5c586e6511a58 (patch)
treeec77bfc5b69f259a159c95188797bd0dade92357 /www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js
parent20ca0685509f8010580d3b45036a64ab48616af1 (diff)
updates Maps to 7.13.0
Diffstat (limited to 'www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js')
-rw-r--r--www/wiki/extensions/Maps/resources/GoogleMaps/jquery.googlemap.js10
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() {