Daniel there are various ways to implement this. But the cleaner ways will require some developments.
The easiest way would be to use the start parameters passed via the URL to the application, and then force a reload. see the docs at http://svn.pmapper.net/trac/wiki/DocManual#Extentreadfromlayerfeature: If the configuration for PHP sessions in php.ini is set to use cookies for the sessions, then the application should keep all existing activated layers after reloading. You could try testing this first with 2 or 3 URL's and see if this is providing the functionality you need. eg. adding the strings to the normal URL after the "?" &zoomLayer=regions&zoomquery=regionn...@1@regio...@0@0 &zoomLayer=regions&zoomquery=regionn...@1@regio...@0@0 &zoomLayer=regions&zoomquery=regionn...@1@regio...@0@0 for description see link above. If this does the job for you, I can give you some advice how to implement this eg. in a plugin similar to the 'mapselect' where you create an option pick-up list. You need to find a way to specify the regions in a list. If there are not too many one could put this in a simple text structure and read the information from there. Armin On 30/05/2010 16:42, Daniel Mwaura wrote: > Hello everyone,i thank you all especially Armin for the good work you are > doing in encouraging many gis users to go the open source way. > > I am working on a pmapper application for somalia and i am trying to > implement a function one in which the user selects from a drop down list > which area(polygon) they want to zoom to (similar to the options for search > queries but without the details on the polygon and the user not having to > click enter to intiate it ) > > I have seen several applications utilizing it but i dont know even where to > start because i am not very good at coding.Is there any help or anything that > can be done. > > A very clear illustration of what i want to do is found at this application > http://edo.jrc.ec.europa.eu/php/index.php?action=view&id=201 > > under the zoom to country tool. > > Thank you once again > > Daniel Mwaura > > JKUAT > > Dept of Gomatics Engineering and Geospatial Information Systems > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users