VEMapOptions Class

You are not viewing the latest version of the AJAX control. Bing Maps AJAX V7 is the recommended JavaScript control for Bing Maps. If you need this documentation, it is available in as a CHM or PDF download.

Contains the options to set when loading the map.


Name Description

VEMapOptions Constructor

Initializes a new instance of a VEMapOptions object.

Public Properties

Name Description

VEMapOptions.BirdseyeOrientation Property

A VEOrientation Enumeration value indicating the orientation of the bird's eye map. The default value is VEOrientation.North.

VEMapOptions.DashboardColor Property

A String that specifies whether the map dashboard, or navigation control, is colored blue or black. Valid values are “blue” or “black”. The default value is “blue”.

VEMapOptions.EnableBirdseye Property

A Boolean value specifying whether or not to enable the Birdseye map style in the map control. The default value is true.

VEMapOptions.EnableClickableLogo Property

A Boolean value indicating whether the BingTM logo on the map is clickable. The default value is false.

VEMapOptions.EnableDashboardLabels Property

A Boolean value that specifies whether or not labels appear on the map when a user clicks the Aerial or Birdseye map style buttons on the map control dashboard. The default value is true.

VEMapOptions.EnableSearchLogo Property

A Boolean value indicating whether to enable the BingTM hovering search logo on the map. The default value is false.

VEMapOptions.LoadBaseTiles Property

A Boolean value indicating whether or not to load the base map tiles. The default value is true.

VEMapOptions.UseEnhancedRoadStyle Property

> [!IMPORTANT] > On July 6, 2011, the new enhanced road map style in use on became the default and only road style available for all Bing Maps APIs. The UseEnhancedRoadStyle property is deprecated.

A Boolean value indicating whether to use the enhanced road map style.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

      <script type="text/javascript" src=""></script>

      <script type="text/javascript">

         var map = null;

         function GetMap()
            map = new VEMap('myMap');
            mapOptions = new VEMapOptions();
            mapOptions.DashboardColor = "black";
            mapOptions.EnableSearchLogo = true;

               new VELatLong(47.6, -122.3),  // center
               10, // zoom level
               VEMapStyle.Road, // map style
               false, // fixed map
               VEMapMode.Mode2D, // map mode
               true,  // show map mode switch
               0, // tile buffer
               mapOptions// options


   <body onload="GetMap();" style="font-family: Arial">
      <div id='myMap' style="position: relative; width: 800px; height: 400px;">

See Also


VEMap.LoadMap Method