On Thu, Mar 26, 2009 at 11:31 PM, Jay Douillard jay.douill...@ubc.ca wrote:
Hello
Is there an attribute that stores the current baselayer when using the layer
switcher? eg map.base_layer ? I've looked around at the documentation and
can't seem to find a reference..
Hello
Is there an attribute that stores the current baselayer when using the layer
switcher? eg map.base_layer ? I've looked around at the documentation and can't
seem to find a reference..
Thanks!
Jay
___
Users mailing list
...@openlayers.org [mailto:users-boun...@openlayers.org] On
Behalf Of Jay Douillard
Sent: Friday, 27 March 2009 9:32 AM
To: OpenLayers Mailing List
Subject: [OpenLayers-Users] accessing the current base layer
Hello
Is there an attribute that stores the current baselayer when using the layer
switcher? eg
:54:47 PM GMT -08:00 US/Canada Pacific
Subject: RE: [OpenLayers-Users] accessing the current base layer
[SEC=UNCLASSIFIED]
Hi Jay,
Yes, map.baseLayer - stores the currently selected base layer. I hope that's
what you were after.
http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files