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 the map in or out by calling the VEMap.ZoomIn Method and VEMap.ZoomOut Method.
Zoom to a specific level by calling the VEMap.SetZoomLevel Method.
Set the center of the map by calling the VEMap.SetCenter Method, or set the center of the map and zoom in by calling the VEMap.SetCenterAndZoom 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.