I am using ESRI's silverlight template for visual studio 2010 sp1/ silverlight 5/ esri api 3.0.
<esri:Navigator element in MainPage is inheriting it from ESRI.ArcGIS.Client.Toolkit.Navigation class. the esri mapping template (not viewer) has functions/buttons like ZoomFullExtent, ZoominButton and ZoomOutbutton.
How easy is it to change ZoomFullExtent to be set to initial extent set in mainpage.xaml. NavigateStyle.XAML does not have .cs code behind file.
how easy is it to add another button to the same navigator object to set the map back to initial extent?
good afternoon. thank you for responding to my post. Sorry for the delay in responding to your post.
I am using ESRI Silverlight API 3.0 (sl 5) and I did not see a navigation.cs file at all. there is a SLProject/Styles/NavigationStyle.XAML with no code behind.
the link above talks extensively about Navigation.cs - i did see the link making this post last week.
I did not see a navigation.cs file at all. there is a SLProject/Styles/NavigationStyle.XAML with no code behind.
the link above talks extensively about Navigation.cs - i did see the link making this post last week.
Navigator.cs is not part of the core API but is provided by some templates such as Minimal or Glass templates that subclass the Navigation toolkit control. If you create a new map application from one of these templates you'll see the file under toolkit\navigator.