<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:esri="http://www.esri.com/2008/ags"
pageTitle="World Street Map">
<!--
This sample shows how to add a street basemap layer to your application.
The sample uses a cached map service from ArcGIS Online.
You can browse the ArcGIS.com site for additional online basemap and reference
map services or publish your own geographic data as a service using ArcGIS Server.
-->
<fx:Declarations>
<esri:Extent id="initialExtent"
xmin="-17731" ymin="6710077" xmax="-12495" ymax="6712279">
<esri:SpatialReference wkid="102100"/>
</esri:Extent>
</fx:Declarations>
<esri:Map extent="{initialExtent}">
<esri:ArcGISTiledMapServiceLayer url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
</esri:Map>
</s:Application>Josh, I'm assuming this is in regards to the new Flex Viewer...
FYI - "Zoom to full extent" functionality will be part of a Navigation Widget that we plan to include in version 2.1 of the ArcGIS Viewer for Flex.
knoxgis,
would you be kind enough to share your code for the navigation widget you have created? I would like to see how it looks?
Can I just insert all the code from that, from " <fx:Script> all the way to the bottom into my MapManager.mxml and it work? What do you mean by "nest the controlBarLayout in a Panel"? Can you post your mxml so I can look at this? I really do not know much about creating code so seeing it helps. Thanks for your help!