[Cartoweb-users] url parameter for dropdown

wochter wochter at seznam.cz
Thu May 15 08:56:29 EDT 2008


Hi,
I have defined dropdown...

layers.vyber_budov.className = LayerGroup
layers.vyber_budov.children = b1,b2
layers.vyber_budov.rendering = dropdown
layers.vyber_budov.label = Buildings

Now I need access layers in building b2 using url parameter and I don't
know how to do it.

http://localhost/cartoweb3/htdocs/swdemo.php?reset_session&
  switch_id=default&
  layer_select=layer1,layer2&   (I use layer1 or layer2)
  id_recenter_layer=layer1&
  id_recenter_ids=3

layer1 is in dropdown child b1 and layer2 in child b2

in case layer1 is everything ok but when I want to select layer2 is this
layer displayed but not checked in legend (bacause layer2 is in second
dropdown)

Is there any solution please?
thank you

wochter


More information about the Cartoweb-users mailing list