X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fgooglemap%2Fstatic%2Fjs%2Fgooglemap.js;h=7346f733e1529062e18d9ea260f0cd7361ad689b;hb=ebcf070bdd8f8b49ff69afbb4688668007895cd9;hp=c28883089d915d5228f53c9d7cbc99e6a5bf971c;hpb=08bce207f8b92b8c93677c7b3bf749bd23fcdbc2;p=myslice.git diff --git a/plugins/googlemap/static/js/googlemap.js b/plugins/googlemap/static/js/googlemap.js index c2888308..7346f733 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) { @@ -27,10 +30,13 @@ googlemap_debug_detailed=false; this.in_set_backlog = []; // we keep a couple of global hashes - // lat_lon --> { marker,