Hi All.<br><br>I am trying to zoom to a layer after it&#39;s created. What I want to do is create a bunch of layers in a tree structure. When the user clicks on a layer, I want it to jump to that layer. What I would like to do is given the layer pointer, call 
map.zoomToExtent with the layers extent.<br><br>The problem is that I couldn&#39;t find a way to query the current layer for it&#39;s full extents. When I call getExtent() and getZoom(), it returns me the current extent and zoom of the layer in the map, not the full extent and full zoom. Is there an easier way of doing this? I should mention that I pass a &quot;maxExtent&quot; for each one of the layers created. Is there a way to pull the layer extent from this?
<br><br>-Lennox