Select to view content in your preferred language

Took Kit Navigations Full Extent centers on wrong spot

695
2
07-30-2010 09:30 AM
JohnPalmbach
Emerging Contributor
I???m curious if anyone has had any success changing the ???Full Extent??? functionality of the ToolKit Navigation control.  I have already constrained the extent of my Silverlight Map to only the relevant area and zoom scales but now when I hit the full extent button it zooms out to a point that does not center on the right spot on the map.  Is there anyway I can override the extent that the button goes to? 

I'm currently using the 1.2 API.  Is there possibly a easy solution to this in 2.0?
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
One option is you to change the style of the navigation control by replacing the full extent button by your own button.
     - In blend, edit a copy of the navigation template
     - Find the 'ZoomFullExtent' button
     - Rename it
     - Add your own click handler
     - In the click handler, change the extent of the map as you want
0 Kudos
JohnPalmbach
Emerging Contributor
Thanks Dominique.  I'll give that a shot.
0 Kudos