<Grid.Resources>
<esrisymbols:SimpleMarkerSymbol x:Key="stopSymbol" Size="30" Style="Circle" mce_Style="Circle" Color="Blue"/>
<esrisymbols:SimpleLineSymbol x:Key="routeSymbol" Color="Red" Width="6"/>
<esritasks:RouteTask x:Name="phoneRouteTask"
Failed="phoneRouteTask_Failed"
SolveCompleted="phoneRouteTask_SolveCompleted"
Url="http://heyb/ArcGIS/rest/services/ESRISH/SanFrancisco/NAServer/Route"/>
</Grid.Resources>
<!--ContentPanel - place additional content here-->
<Grid Grid.Row="0" x:Name="ContentGrid">
<esri:Map x:Name="phoneMap" Extent="-122.500366,37.711534,-122.398753,37.785022"
IsLogoVisible="False" MouseClick="phoneMap_MouseClick"
ExtentChanging="phoneMap_ExtentChanging">
<esri:ArcGISDynamicMapServiceLayer Url="http://heyb/ArcGIS/rest/services/ESRISH/SanFrancisco/MapServer"/>
<esri:GraphicsLayer ID="stopsGraphicsLayer"/>
<esri:GraphicsLayer ID="routeGraphicsLayer"/>
</esri:Map>
<esri:ScaleBar x:Name="phoneScaleBar" MapUnit="DecimalDegrees" TextColor="Black"
HorizontalAlignment="Right" VerticalAlignment="Bottom"
DisplayUnit="Miles" Map="{Binding ElementName=phoneMap}"/>
</Grid>
<Grid Grid.Row="1">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="phoneMapExtentText"/>
</Grid>
</Grid>
</phone:PhoneApplicationPage>