[OpenLayers-Users] active layer index

Christopher Schmidt crschmidt at metacarta.com
Tue Feb 12 11:09:13 EST 2008


On Tue, Feb 12, 2008 at 09:48:39AM -0500, D. Eric Keefauver wrote:
> Can anyone tell me how to get the index of the selected baselayer in the
> layer switcher?

Why do you need to?

The baseLayer itself is available via map.baseLayer; with that do you
still need the index?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list