.. _widget-toggle-label: ======== Toggle ======== This widget allow a layers from resources to follow the visibility of other resources using the 'toggleResource' option. The resource that has the 'toggleResource' option(s) is considered the 'mother' resource. Each defined 'toggleResource' follow this resource layers visibility. .. note:: This widget must appear only once and doesn't need to be drawn. XML Sample ------------ Sample configuration of the widget : .. code-block:: xml W_MyToggle Sample configuration of a resource toggling an other : .. code-block:: xml R_GMAP_BASE DS_TC_DEV4G_GMAP_BASE W_Layer_TC_BASE R_GMAP_PROV Mandatory Options ------------------- N/A Optional Options ------------------ N/A Service Type -------------- N/A Widget Action -------------- read