Controlling the Map
After you have a map on your Web page, you can programmatically change the map. You can change the map style, adjust the zoom level, pan the map to a new location, show and hide the default navigation control, and add your own controls to the map.
Changing the Map View
There are several ways you can programmatically change the map view. You can:
Zoom to a specific level by calling the VEMap.SetZoomLevel Method.
Change the map style by calling the VEMap.SetMapStyle Method.
Let Bing Maps determine the best map to show, based on your set of points, pushpins, or polylines. You accomplish this by passing an array of points or lines to the VEMap.SetMapView Method.
Showing and Hiding Controls
You can show and hide the default map navigation control by calling the VEMap.HideDashboard Method and VEMap.ShowDashboard Method. You can also create your own map navigation control in HTML, and then add the control to the map by calling the VEMap.AddControl Method.