Opened 13 years ago

Closed 13 years ago

#253 closed task (fixed)

Toggle - new widget

Reported by: adube Owned by:
Priority: major Milestone:
Component: widgets Version:
Keywords: Cc:

Description

Toggle widget

Its only purpose is to allow resource layers to toggle their visibility along with other specified resource layers. This should be done with a resource option such as 'toggleResource', which can be defined more than once using the 'toggleResources' as a container.

Each 'toggleResource' specified as an option (children) of a specific resource (mother) will have all its layers follow the visibility of the layers of their mother resource.

The widget should listen to the 'printallwidgetresource' event to register the according listeners to all layer objects involved.

Change History (1)

comment:1 by adube, 13 years ago

Resolution: fixed
Status: newclosed

Added in r1084, featuring :

  • a new 'toggle' widget
  • a sample
  • widget documentation
  • PGSQLMapContextConfig and XMLConfigs support
  • 'toggleResource' resource option documented in PGSQLMapContextConfig driver doc

It is important to note that the initial visibility of the layers is not adjusted by this widget.

Note: See TracTickets for help on using tickets.