Default zoom view on Bing map
-
Monday, June 11, 2012 9:04 PM
Hello All,
I have an application which has a map view that looks like this:
However, I would like it to default to a closer view (I do not want to see the north/south poles). Does anyone know what I need to do in order to make this change ? Resource with explanations would be great and code would be awesome. Thanks !
All Replies
-
Tuesday, June 12, 2012 8:38 AMOwner
Just pass in the initial zoom level into the map reference. It's pretty easy. For example:
<m:Map x:Name="viewMap" CredentialsProvider="your key" Center="39.3683,-95.2734" ZoomLevel="4"/>
The very topic sticky post on the forums has a list of resources.
For the Silverlight control: http://msdn.microsoft.com/en-us/library/ee681884.aspx
For the WPF control: http://msdn.microsoft.com/en-us/library/hh750210.aspx
http://rbrundritt.wordpress.com
- Edited by Richard_BrundrittMicrosoft Employee, Owner Tuesday, June 12, 2012 8:39 AM
- Marked As Answer by Richard_BrundrittMicrosoft Employee, Owner Friday, June 15, 2012 8:28 AM
-
Friday, August 10, 2012 2:29 PM

