You need a separate config for all you map files, like config_map1.ini, config_map2.ini, etc
where inside you specify the map file to be used. You can have a common ini file (config_common.ini) for the rest of the config, this avoids duplicating all the common content of the config files. Then access the application with the links http://server/pmapper/map.phtml?config=map1 http://server/pmapper/map.phtml?config=map2 There's also an extension 'mapselect' that allows to swap in the application to another map file (if wanted keeping the current map extent). Armin On Wed, Sep 24, 2008 at 9:19 AM, Fulgencio Sanmartin <[EMAIL PROTECTED]> wrote: > Hi! > > I'd like to let users load pmapper to display different mapfiles created > on the fly. > My question is simple: how can I specify the .map file on the php > loading page, let's say map.phtml? > For example, I would receive... http://server/pmapper/map.phtml?id=123456 > And inside it I create a new file called file_123456.map > How could I load it into pmapper? On the sample, I have seen that > pmapper_demo.map is in config_default.ini, but I would need a different > map for different queries... > > Thanks in advance > > -- > fulgen > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users