[OpenLayers-Users] Layer Switcher Question
eric.c2c at gmail.com
Fri Jan 25 18:09:41 EST 2008
On Jan 25, 2008 7:01 PM, D. Eric Keefauver <eric.keefauver at mtu.edu> wrote:
> Hello all,
> I apologize if this should be a developer post but I am curious as to how
> one might capture the base layer name that is active base layer within the
> layer switcher and place it on the map page once the user collapses the
> layer switcher. We want to have a visual place holder for the active base
> layer name so users are aware and always reminded of what they are
The base layer is referenced in the map object. For example to get the
name of the base layer you do map.baseLayer.name.
Hope I'm answering your question...
More information about the Users