Thanks Matthew! Not sure how I missed that! I had looked over that document a number of times!
---- Jay ----- Original Message ----- From: "Matthew Doyle" <[email protected]> To: "Jay Douillard" <[email protected]> Cc: "OpenLayers Mailing List" <[email protected]> Sent: Thursday, March 26, 2009 3: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/OpenLayers/Map-js.html#OpenLayers.Map.baseLayer Cheers, Matt -----Original Message----- From: [email protected] [mailto:[email protected]] 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 [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
