Select to view content in your preferred language

Controlling functions of the Navigation Control

664
1
02-14-2011 11:23 AM
BrentHoskisson
Frequent Contributor
Hi,

I am using the Navigation control.  Is there any way to catch the click on the full extent button and have it zoom to what I want to be the full extent - rather than what it thinks is the full extent?  Because it is wrong (in my expert opinion).

Thanks
Brent
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Sure you can modify the template of NavigationControl and add your own button. http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/20/Use-control-templates-to-customize....

It simply calls "Map.ZoomTo(Map.Layers.GetFullExtent())". Toolkit is also available in CodePlex: http://esrisilverlight.codeplex.com/
0 Kudos