all parameters from the XML config file are available via the JS var PM.ini
To get session variables and do something with them you can use the function PM.getSessionVar(varname, callback), e.g. like PM.getSessionVar('categories', 'PM.Plugin.Layerselect.updateTree(response)'); /a On 03/07/2013 05:54 PM, Chris Jackson wrote: > Hi all > > I am trying to get a list of loaded layers in p.mapper into a js variable > so if 2 particular layers are on then a pop-up is triggered. I thought the > best way is to retrieve the groups out of the php session, but having > trouble getting the values into a variable, any steer would be appreciated. > > Many thanks > Chris > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users