[OpenLayers-Users] Event listening: minimize/maximize layer switcher and overview map controls

Christopher Schmidt crschmidt at metacarta.com
Mon Feb 9 13:08:19 EST 2009


On Mon, Feb 09, 2009 at 09:26:12AM -0800, Ian wrote:
> I looked through the events and didn't find anything related to the
> minimizing and maximizing of controls. Are there any events tied to this
> that I can listen for/register? If not, what is the most appropriate section
> of code to modify for this?

I expect you're speaking of controls like the OverviewMap and
LayerSwitcher control. These controls do not fire any events, or have
any other easy way to tell when they are opened or closed, as far as I
am aware.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list