HiĀ 
My name is Andreas and I use pmapper 4.1.1

in Wiki i found that:
to execute a JavaScript function every time the map is refreshed then add to 
the init function referenced in config.inc something like

   $("#pmMapRefreshImg").bind("load", function(e){
      pm_scaleBar.update(PMap.scale);
   });
Moreover in pm_cjs.js i 
found:$("#pm_mapUpdateEvent").bind("change",bindData,bindFunction);
I use uilayout and therefor I suppose that the pm_mapUpdateEvent is the correct 
div id.
However I test with $("#pm_mapUpdateEvent").bind("change",bindData, 
alert('test')); and it does not work.What is bindData ?Can someone explain me 
how can I run one javascript function whenever I update map?How can I use the 
above function?



------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to