[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-13 Thread Stephan Holl
Hello Armin, On Mon, 12 Jun 2006 16:35:57 +0200 "Armin Burger" wrote: > > > > > This seems to work so far. I have created another popup-window where > > the layers can be selected. after submtting the $_SESSION-vars are > > updated inside the popup. > > > > But when I initiate a reloadMap() f

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-12 Thread Armin Burger
> > This seems to work so far. I have created another popup-window where > the layers can be selected. after submtting the $_SESSION-vars are > updated inside the popup. > > But when I initiate a reloadMap() for the opener.window, the > $_SESSION (printed in the main-window) does not contain any

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-12 Thread Stephan Holl
Hello Armin, On Thu, 08 Jun 2006 19:45:28 +0200 Armin Burger wrote: > Stephan, > > at the moment I have not access to the code because it's used only > for an application at work. But I will describe the steps to keep in > mind for pmapper and dynamic layers. > > There are 2 parts to consider:

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-12 Thread Stephan Holl
Hello Armin, On Fri, 09 Jun 2006 18:59:52 +0200 Armin Burger wrote: > > > Stephan Holl wrote: > > > The layers for templates should have set the status to 'OFF' and > should not be referenced in allGroups in config.ini if they are > only templates for dynamic layers. One could

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-09 Thread Armin Burger
Stephan Holl wrote: > The layers for templates should have set the status to 'OFF' and should not be referenced in allGroups in config.ini if they are only templates for dynamic layers. One could probably also define a second map file just for the dynamic layers, but I don't

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-09 Thread Stephan Holl
Hello Armin, On Fri, 09 Jun 2006 13:31:49 +0200 "Armin Burger" wrote: > > > > > > > The layers for templates should have set the status to 'OFF' and > > > should not be referenced in allGroups in config.ini if they are > > > only templates for dynamic layers. One could probably also define > >

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-09 Thread Armin Burger
> > > > The layers for templates should have set the status to 'OFF' and > > should not be referenced in allGroups in config.ini if they are only > > templates for dynamic layers. One could probably also define a second > > map file just for the dynamic layers, but I don't know if one can > > tra

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-09 Thread Stephan Holl
Hello Armin, thank you for your detailed description. [should go to the Wiki to some extend] On Thu, 08 Jun 2006 19:45:28 +0200 Armin Burger wrote: > Stephan, > > at the moment I have not access to the code because it's used only > for an application at work. But I will describe the steps to

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-08 Thread Armin Burger
Stephan, at the moment I have not access to the code because it's used only for an application at work. But I will describe the steps to keep in mind for pmapper and dynamic layers. There are 2 parts to consider: 1) The dynamic layers have to be initilized, ie. defined with all their properti

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-08 Thread Stephan Holl
Hello Armin, On Thu, 08 Jun 2006 16:32:58 +0200 "Armin Burger" wrote: > Stefan > > I attached a sample script to add dynamic layers. You will then have > to add in map.php (and probably all other scripts where the layers > are used, like query etc.) the function (it's already in map.php, but >

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-08 Thread Armin Burger
Stefan I attached a sample script to add dynamic layers. You will then have to add in map.php (and probably all other scripts where the layers are used, like query etc.) the function (it's already in map.php, but empty): function pmap_addCustomLayers() { $dyn = new DynLayer($this->map);

[Pmapper-users] Adding a dynamic layer to legend (pmapper2)

2006-06-08 Thread Stephan Holl
Dear pmapper-users, I would like to add dynamic layers to my pmapper2-app (code from 05.06.2006 zipfile). After inspecting the session-vars I *think* I need to add it an array containing information about the new layer to $_SESSION[grouplist]. I tried this but the TOC did not update accordingly.