On 30/05/2010 16:41, Moffat Magondu wrote: > Hi Armin and All; > I am Moffat,I have been using pmapper application for a while and I have > been impressed by its capabilities. Thanks alot to Armin and other > developers. I am working on this project where I want to use pmapper and I > was wondering if it is possible to have the layers or categories on the > table of contents to switch.That is when one category or layer is switched > ON the other goes OFF and vice versa. I will highly appreciate any > assistance. >
You will need some knowledge of Javascript and jQuery to change the default behaviour of category/layer activation/deactivation. The function to modify is mainly setcategories() and make use of catLayersSwitch() in pm.toc.js. Note also this http://svn.pmapper.net/trac/wiki/FaqCustomizations#CustomizationsofCSSandJavaScript armin ------------------------------------------------------------------------------ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users