ViewOptions Object

Bing
 

The following view options that can be used when loading the map or when using the setView function.

NameTypeDescription
boundsLocationRectThe bounding rectangle of the map view. If both bounds and center are specified, bounds takes precedence over center.
centerLocationThe location of the center of the map view. If both bounds and center are specified, bounds takes precedence over center.
headingnumberThe directional heading of the map. The heading is represented in geometric degrees with 0 or 360 = North, 90 = East, 180 = South, and 270 = West.
labelOverlayLabelOverlayIndicates how the map labels are displayed.
mapTypeIdMapTypeIdThe map type of the view.
paddingnumberThe amount of padding in pixels to be added to each side of the bounds of the map view.
pitchnumberThe angle relative to the horizon to tilt a streetside panorama image.
zoomnumberThe zoom level of the map view.
Show: