The Query object (in query.php) has the $map instance variable. For this $this->map you need to add all the layers that shall later on be queried (you need to set their STATUS to on). In your case it might just be one layer. The adding of a new layer has to be similar to the function for the $map in map.php.
It's difficult to say what you have to do for customized dynamic layers. You will need to understand the logic of the query and how layers are added (you must have created these functions for the map display anyway). I guess it is just required that the dynamic layer has a TEMPLATE added. Armin Stephan Holl wrote: > Hello Armin, > > "Armin Burger" <[EMAIL PROTECTED]>, [20070308-17:57:20]: > >> if you want to add a dynamic layer you need to do that for all kind >> of actions where you need this layer. So not just for the map display >> but also for the query. > > Could you elaborate a bit more please? I am a bit lost where to step > into the query-code to add this layer. My newly added layer is the > "reslayer" which gets shown. > > Which variables are neccessary to make pmapper recognize the newly > created layer is also queryable? > > TIA > > Stephan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
