X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fgooglemap%2Fstatic%2Fjs%2Fgooglemap.js;h=2feb424ce4b1378420c97a050ad748cabdbbdbfb;hb=9323c1c60dcba3b9447f664019993076ae8e0c35;hp=424b3aad6f979a76584dc2e1c1c7be2c8befeb7f;hpb=7e0af7840da289a7fdf17bc0f8ced1d20b48556e;p=myslice.git diff --git a/plugins/googlemap/static/js/googlemap.js b/plugins/googlemap/static/js/googlemap.js index 424b3aad..2feb424c 100644 --- a/plugins/googlemap/static/js/googlemap.js +++ b/plugins/googlemap/static/js/googlemap.js @@ -8,13 +8,16 @@ * - infowindow is not properly reopened when the maps does not have the focus */ -// events that happen in the once-per-view range -googlemap_debug=false; -// more on a on-per-record basis -googlemap_debug_detailed=false; - (function($){ + // events that happen in the once-per-view range + var debug=false; + debug=true; + + // more on a on-per-record basis + var debug_deep=false; + // debug_deep=true; + var GoogleMap = Plugin.extend({ init: function(options, element) { @@ -28,21 +31,32 @@ googlemap_debug_detailed=false; // we keep a couple of global hashes // lat_lon --> { marker,