[OpenLayers-Users] accessing the current base layer
[SEC=UNCLASSIFIED]
Matthew Doyle
M.Doyle at bom.gov.au
Thu Mar 26 18:54:47 EDT 2009
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/OpenLayers/Map-js.html#OpenLayers.Map.baseLayer
Cheers,
Matt
-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at 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 map.base_layer ? I've looked around at the documentation and can't seem to find a reference..
Thanks!
----
Jay
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list