And you should listen to the changebaselayer event...
Something like
this.map.events.register(changebaselayer, this, updateActiveLayerName);
and
function updateActiveLayerName(evt) {
document.getElementById(mylbl).innerText = map.baseLayer.name;
}
This code is untested (written directly
On Jan 25, 2008 7:01 PM, D. Eric Keefauver [EMAIL PROTECTED] 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
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