Use DisplayObject#getBounds() to get map bounds.
Use DisplayObject#getBounds() to get map bounds.

CanterburyRegionalCouncil/arcgis-viewer-flex,CanterburyRegionalCouncil/arcgis-viewer-flex,CanterburyRegionalCouncil/arcgis-viewer-flex,Esri/arcgis-viewer-flex,Esri/arcgis-viewer-flex