Bing Maps AJAX Control, Version 6.3
Getting Started with the Bing Maps AJAX Control
What's New in the Map Control?
Version Changelist
Developing with the Bing Maps AJAX Control
Displaying a Map Using JavaScript
Displaying an Embedded Map
Controlling the Map
Adding Shapes to a Map
Using Routes and Directions
Working with Bird's Eye Images
Displaying 3D Maps
Using Map Control Parameters
Returning Localized Results
Tracking Your Bing Maps Usage
Bing Map Control Performance
Using the Core Map Control
Using the REST Services with the Core Map Control
Bing Maps AJAX Control Class Reference
VEAltitudeMode Enumeration
VEBirdseyeScene Class
VEBirdseyeScene Methods
VEBirdseyeScene.ContainsLatLong Method
VEBirdseyeScene.ContainsPixel Method
VEBirdseyeScene.GetBoundingRectangle Method
VEBirdseyeScene.GetHeight Method
VEBirdseyeScene.GetID Method
VEBirdseyeScene.GetOrientation Method
VEBirdseyeScene.GetWidth Method
VEBirdseyeScene.LatLongToPixel Method
VEBirdseyeScene.PixelToLatLong Method
VEClusteringOptions Class
VEClusteringOptions Constructor
VEClusteringOptions Properties
VEClusteringOptions.Icon Property
VEClusteringOptions.Callback Property
VEClusteringType Enumeration
VEClusterSpecification Class
VEClusterSpecification Methods
VEClusterSpecification.GetClusterShape Method
VEClusterSpecification Properties
VEClusterSpecification.Shapes Property
VEClusterSpecification.LatLong Property
VEColor Class
VEColor Constructor
VEColor Properties
VEColor.A Property
VEColor.B Property
VEColor.G Property
VEColor.R Property
VECustomIconSpecification Class
VECustomIconSpecification Constructor
VECustomIconSpecification Properties
VECustomIconSpecification.BackColor Property
VECustomIconSpecification.CustomHTML Property
VECustomIconSpecification.ForeColor Property
VECustomIconSpecification.Image Property
VECustomIconSpecification.ImageOffset Property
VECustomIconSpecification.TextBold Property
VECustomIconSpecification.TextContent Property
VECustomIconSpecification.TextFont Property
VECustomIconSpecification.TextItalics Property
VECustomIconSpecification.TextOffset Property
VECustomIconSpecification.TextSize Property
VECustomIconSpecification.TextUnderline Property
VEDashboardSize Enumeration
VEDataType Enumeration
VEDistanceUnit Enumeration
VEException Class
VEException Properties
VEException.message Property
VEException.name Property
VEException.source Property
VEFailedShapeRequest Enumeration
VEFindResult Class
VEFindResult Properties
VEFindResult.Description Property
VEFindResult.IsSponsored Property
VEFindResult.LatLong Property
VEFindResult.Name Property
VEFindResult.Phone Property
VEFindResult.FindType Property
VEFindResult.Shape Property
VEFindType Enumeration
VEGeocodeLocation Class
VEGeocodeLocation Properties
VEGeocodeLocation.LatLong Property
VEGeocodeLocation.Precision Property
VEGeocodeOptions Class
VEGeocodeOptions Constructor
VEGeocodeOptions Properties
VEGeocodeOptions.SetBestMapView Property
VEGeocodeOptions.UseDefaultDisambiguation Property
VEImageryMetadata Class
VEImageryMetadata Properties
VEImageryMetadata.DateRangeStart Property
VEImageryMetadata.DateRangeEnd Property
VEImageryMetadataOptions Class
VEImageryMetadataOptions Constructor
VEImageryMetadataOptions Properties
VEImageryMetadataOptions.LatLong Property
VEImageryMetadataOptions.MapStyle Property
VEImageryMetadataOptions.ZoomLevel Property
VELatLong Class
VELatLong Constructor
VELatLong Properties
VELatLong.Altitude Property
VELatLong.AltitudeMode Property
VELatLong.Latitude Property
VELatLong.Longitude Property
VELatLong Methods
VELatLong.SetAltitude Method
VELatLongRectangle Class
VELatLongRectangle Constructor
VELatLongRectangle Properties
VELatLongRectangle.BottomLeftLatLong Property
VELatLongRectangle.BottomRightLatLong Property
VELatLongRectangle.TopLeftLatLong Property
VELatLongRectangle.TopRightLatLong Property
VELocationPrecision Enumeration
VEMap Class
VEMap Constructor
VEMap Events
Keyboard Events
VEMap.onkeypress Event
VEMap.onkeydown Event
VEMap.onkeyup Event
Mouse Events
VEMap.onclick Event
VEMap.ondoubleclick Event
VEMap.onmousedown Event
VEMap.onmousemove Event
VEMap.onmouseout Event
VEMap.onmouseover Event
VEMap.onmouseup Event
VEMap.onmousewheel Event
Bing Maps Events
VEMap.onchangemapstyle Event
VEMap.onchangeview Event
VEMap.oncredentialserror Event
VEMap.oncredentialsvalid Event
VEMap.onendpan Event
VEMap.onendzoom Event
VEMap.onerror Event
VEMap.oninitmode Event
VEMap.onmodenotavailable Event
VEMap.onobliquechange Event
VEMap.onobliqueenter Event
VEMap.onobliqueleave Event
VEMap.onresize Event
VEMap.onstartpan Event
VEMap.onstartzoom Event
VEMap.ontokenerror Event
VEMap.ontokenexpire Event
VEMap Event Object Properties
VEMap Methods
VEMap.AddControl Method
VEMap.AddCustomLayer Method
VEMap.AddShape Method
VEMap.AddShapeLayer Method
VEMap.AddTileLayer Method
VEMap.AttachEvent Method
VEMap.Clear Method
VEMap.ClearInfoBoxStyles Method
VEMap.ClearTraffic Method
VEMap.DeleteAllShapeLayers Method
VEMap.DeleteAllShapes Method
VEMap.DeleteControl Method
VEMap.DeleteRoute Method
VEMap.DeleteShape Method
VEMap.DeleteShapeLayer Method
VEMap.DeleteTileLayer Method
VEMap.DetachEvent Method
VEMap.Dispose Method
VEMap.EnableShapeDisplayThreshold Method
VEMap.EndContinuousPan Method
VEMap.Find Method
VEMap.FindLocations Method
VEMap.Geocode Method
VEMap.GetAltitude Method
VEMap.GetBirdseyeScene Method
VEMap.GetCenter Method
VEMap.GetDirections Method
VEMap.GetHeading Method
VEMap.GetImageryMetadata Method
VEMap.GetLeft Method
VEMap.GetMapMode Method
VEMap.GetMapStyle Method
VEMap.GetMapView Method
VEMap.GetPitch Method
VEMap.GetRoute Method
VEMap.GetShapeByID Method
VEMap.GetShapeLayerByIndex Method
VEMap.GetShapeLayerCount Method
VEMap.GetTileLayerByID Method
VEMap.GetTileLayerByIndex Method
VEMap.GetTileLayerCount Method
VEMap.GetTop Method
VEMap.GetVersion Method
VEMap.GetZoomLevel Method
VEMap.Hide3DNavigationControl Method
VEMap.HideAllShapeLayers Method
VEMap.HideBaseTileLayer Method
VEMap.HideControl Method
VEMap.HideDashboard Method
VEMap.HideFindControl Method
VEMap.HideInfoBox Method
VEMap.HideMiniMap Method
VEMap.HideScalebar Method
VEMap.HideTileLayer Method
VEMap.HideTrafficLegend Method
VEMap.Import3DModel Method
VEMap.ImportShapeLayerData Method
VEMap.IncludePointInView Method
VEMap.IsBirdseyeAvailable Method
VEMap.LatLongToPixel Method
VEMap.LoadMap Method
VEMap.LoadTraffic Method
VEMap.Pan Method
VEMap.PanToLatLong Method
VEMap.PixelToLatLong Method
VEMap.RemoveCustomLayer Method
VEMap.Resize Method
VEMap.Search Method
VEMap.SetAltitude Method
VEMap.SetBirdseyeOrientation Method
VEMap.SetBirdseyeScene Method
VEMap.SetBirdseyeScene(id) Method
VEMap.SetBirdseyeScene(veLatLong, orientation, zoomLevel, callback) Method
VEMap.SetCenter Method
VEMap.SetCenterAndZoom Method
VEMap.SetClientToken Method
VEMap.SetCredentials Method
VEMap.SetDashboardSize Method
VEMap.SetDefaultInfoBoxStyles Method
VEMap.SetFailedShapeRequest Method
VEMap.SetHeading Method
VEMap.SetMapMode Method
VEMap.SetMapStyle Method
VEMap.SetMapView Method
VEMap.SetMouseWheelZoomToCenter Method
VEMap.SetPitch Method
VEMap.SetPrintOptions Method
VEMap.SetScaleBarDistanceUnit Method
VEMap.SetShapesAccuracy Method
VEMap.SetShapesAccuracyRequestLimit Method
VEMap.SetTileBuffer Method
VEMap.SetTrafficLegendText Method
VEMap.SetZoomLevel Method
VEMap.Show3DBirdseye Method
VEMap.Show3DNavigationControl Method
VEMap.ShowAllShapeLayers Method
VEMap.ShowBaseTileLayer Method
VEMap.ShowControl Method
VEMap.ShowDashboard Method
VEMap.ShowDisambiguationDialog Method
VEMap.ShowFindControl Method
VEMap.ShowInfoBox Method
VEMap.ShowMessage Method
VEMap.ShowMiniMap Method
VEMap.ShowScalebar Method
VEMap.ShowTileLayer Method
VEMap.ShowTrafficLegend Method
VEMap.StartContinuousPan Method
VEMap.ZoomIn Method
VEMap.ZoomOut Method
VEMap Properties
VEMap.onLoadMap Property
VEMapMode Enumeration
VEMapOptions Class
VEMapOptions Constructor
VEMapOptions Properties
VEMapOptions.BirdseyeOrientation Property
VEMapOptions.DashboardColor Property
VEMapOptions.EnableBirdseye Property
VEMapOptions.EnableClickableLogo Property
VEMapOptions.EnableDashboardLabels Property
VEMapOptions.EnableSearchLogo Property
VEMapOptions.LoadBaseTiles Property
VEMapOptions.UseEnhancedRoadStyle Property
VEMapStyle Enumeration
VEMapViewSpecification Class
VEMapViewSpecification Constructor
VEMatchCode Enumeration
VEMatchConfidence Enumeration
VEMiniMapSize Enumeration
VEModelFormat Enumeration
VEModelOrientation Class
VEModelOrientation Constructor
VEModelOrientation Properties
VEModelOrientation.Heading Property
VEModelOrientation.Roll Property
VEModelOrientation.Tilt Property
VEModelScale Class
VEModelScale Constructor
VEModelScale Properties
VEModelScale.X Property
VEModelScale.Y Property
VEModelScale.Z Property
VEModelScaleUnit Enumeration
VEModelSourceSpecification Class
VEModelSourceSpecification Constructor
VEModelSourceSpecification Properties
VEModelSourceSpecification.Format Property
VEModelSourceSpecification.Layer Property
VEModelSourceSpecification.ModelSource Property
VEModelStatusCode Enumeration
VEOrientation Enumeration
VEPixel Class
VEPixel Constructor
VEPixel Properties
VEPixel.x Property
VEPixel.y Property
VEPlace Class
VEPlace Properties
VEPlace.LatLong Property
VEPlace.Locations Property
VEPlace.MatchCode Property
VEPlace.MatchConfidence Property
VEPlace.Name Property
VEPlace.Precision Property
VEPrintOptions Class
VEPrintOptions Constructor
VEPrintOptions Properties
VEPrintOptions.EnablePrinting Property
VERoute Class
VERoute Properties
VERoute.Distance Property
VERoute.RouteLegs Property
VERoute.ShapePoints Property
VERoute.Time Property
VERouteDeprecated Class
VERouteDeprecated Properties
VERouteDeprecated.EndLocation Property
VERouteDeprecated.Itinerary Property
VERouteDeprecated.StartLocation Property
VERouteDistanceUnit Enumeration
VERouteHint Class
VERouteHint Properties
VERouteHint.Type Property
VERouteHint.Text Property
VERouteHintType Enumeration
VERouteItinerary Class
VERouteItinerary Properties
VERouteItinerary.Items Property
VERouteItineraryDeprecated Class
VERouteItineraryDeprecated Properties
VERouteItineraryDeprecated.Distance Property
VERouteItineraryDeprecated.DistanceUnit Property
VERouteItineraryDeprecated.RouteType Property
VERouteItineraryDeprecated.Segments Property
VERouteItineraryDeprecated.Time Property
VERouteItineraryItem Class
VERouteItineraryItem Properties
VERouteItineraryItem.Distance Property
VERouteItineraryItem.LatLong Property
VERouteItineraryItem.Shape Property
VERouteItineraryItem.Text Property
VERouteItineraryItem.Time Property
VERouteItineraryItem.Warnings Property
VERouteItineraryItem.Hints Property
VERouteLeg Class
VERouteLeg Properties
VERouteLeg.Distance Property
VERouteLeg.Itinerary Property
VERouteLeg.Time Property
VERouteLocation Class
VERouteLocation Properties
VERouteLocation.Address Property
VERouteLocation.LatLong Property
VERouteMode Enumeration
VERouteOptimize Enumeration
VERouteOptions Class
VERouteOptions Constructor
VERouteOptions Properties
VERouteOptions.DistanceUnit Property
VERouteOptions.DrawRoute Property
VERouteOptions.RouteCallback Property
VERouteOptions.RouteColor Property
VERouteOptions.RouteMode Property
VERouteOptions.RouteOptimize Property
VERouteOptions.RouteWeight Property
VERouteOptions.RouteZIndex Property
VERouteOptions.SetBestMapView Property
VERouteOptions.ShowDisambiguation Property
VERouteOptions.ShowErrorMessages Property
VERouteOptions.UseMWS Property
VERouteOptions.UseTraffic Property
VERouteSegment Class
VERouteSegment Properties
VERouteSegment.Instruction Property
VERouteSegment.LatLong Property
VERouteSegment.Distance Property
VERouteType Enumeration
VERouteWarning Class
VERouteWarning Properties
VERouteWarning.Severity Property
VERouteWarning.Text Property
VERouteWarningSeverity Enumeration
VESearchOptions Class
VESearchOptions Constructor
VESearchOptions Properties
VESearchOptions.BoundingRectangle Property
VESearchOptions.CreateResults Property
VESearchOptions.FindType Property
VESearchOptions.NumberOfResults Property
VESearchOptions.SetBestMapView Property
VESearchOptions.ShapeLayer Property
VESearchOptions.ShowResults Property
VESearchOptions.StartIndex Property
VESearchOptions.UseDefaultDisambiguation Property
VEShape Class
VEShape Constructor
VEShape Events
VEShape.ondrag Event
VEShape.onenddrag Event
VEShape.onstartdrag Event
VEShape Methods
VEShape.GetAltitude Method
VEShape.GetAltitudeMode Method
VEShape.GetCustomIcon Method
VEShape.GetDescription Method
VEShape.GetFillColor Method
VEShape.GetIconAnchor Method
VEShape.GetID Method
VEShape.GetLineColor Method
VEShape.GetLineToGround Method
VEShape.GetLineWidth Method
VEShape.GetMaxZoomLevel Method
VEShape.GetMinZoomLevel Method
VEShape.GetMoreInfoURL Method
VEShape.GetPhotoURL Method
VEShape.GetPoints Method
VEShape.GetShapeLayer Method
VEShape.GetTitle Method
VEShape.GetType Method
VEShape.GetZIndex Method
VEShape.GetZIndexPolyShape Method
VEShape.Hide Method
VEShape.HideIcon Method
VEShape.IsModel Method
VEShape.SetAltitude Method
VEShape.SetAltitudeMode Method
VEShape.SetCustomIcon Method
VEShape.SetDescription Method
VEShape.SetFillColor Method
VEShape.SetIconAnchor Method
VEShape.SetLineColor Method
VEShape.SetLineToGround Method
VEShape.SetLineWidth Method
VEShape.SetMaxZoomLevel Method
VEShape.SetMinZoomLevel Method
VEShape.SetMoreInfoURL Method
VEShape.SetPhotoURL Method
VEShape.SetPoints Method
VEShape.SetTitle Method
VEShape.SetZIndex Method
VEShape.Show Method
VEShape.ShowIcon Method
VEShape Properties
VEShape.Draggable Property
VEShapeLayer Class
VEShapeLayer Constructor
VEShapeLayer Methods
VEShapeLayer.AddShape Method
VEShapeLayer.DeleteAllShapes Method
VEShapeLayer.DeleteShape Method
VEShapeLayer.GetBoundingRectangle Method
VEShapeLayer.GetClusteredShapes Method
VEShapeLayer.GetDescription Method
VEShapeLayer.GetShapeByID Method
VEShapeLayer.GetShapeByIndex Method
VEShapeLayer.GetShapeCount Method
VEShapeLayer.GetTitle Method
VEShapeLayer.Hide Method
VEShapeLayer.IsVisible Method
VEShapeLayer.SetClusteringConfiguration Method
VEShapeLayer.SetClusteringConfiguration(type, options) Method
VEShapeLayer.SetClusteringConfiguration(algorithm, options) Method
VEShapeLayer.SetDescription Method
VEShapeLayer.SetTitle Method
VEShapeLayer.Show Method
VEShapeAccuracy Enumeration
VEShapeSourceSpecification Class
VEShapeSourceSpecification Constructor
VEShapeSourceSpecification Properties
VEShapeSourceSpecification.Layer Property
VEShapeSourceSpecification.LayerSource Property
VEShapeSourceSpecification.MaxImportedShapes Property
VEShapeSourceSpecification.Type Property
VEShapeType Enumeration
VETileSourceSpecification Class
VETileSourceSpecification Constructor
VETileSourceSpecification Properties
VETileSourceSpecification.Bounds Property
VETileSourceSpecification.GetTilePath Property
VETileSourceSpecification.ID Property
VETileSourceSpecification.MaxZoomLevel Property
VETileSourceSpecification.MinZoomLevel Property
VETileSourceSpecification.NumServers Property
VETileSourceSpecification.Opacity Property
VETileSourceSpecification.TileSource Property
VETileSourceSpecification.ZIndex Property
Bing Maps AJAX Control Troubleshooting and Support
Contents
Bing Maps AJAX Control, Version 6.3 ........................................................................................... 13
Getting Started with the Bing Maps AJAX Control ..................................................................... 14
What's New in the Map Control? ................................................................................................ 15
Version Changelist .................................................................................................................. 16
Developing with the Bing Maps AJAX Control ........................................................................... 17
Displaying a Map Using JavaScript ........................................................................................ 18
Displaying an Embedded Map ................................................................................................ 20
Controlling the Map ................................................................................................................. 22
Adding Shapes to a Map ........................................................................................................ 23
Using Routes and Directions .................................................................................................. 27
Working with Bird's Eye Images ............................................................................................. 29
Displaying 3D Maps ................................................................................................................ 31
Using Map Control Parameters .............................................................................................. 33
Returning Localized Results ................................................................................................... 34
Tracking Your Bing Maps Usage ............................................................................................ 37
Bing Map Control Performance .............................................................................................. 38
Using the Core Map Control ................................................................................................... 40
Using the REST Services with the Core Map Control ............................................................ 49
Bing Maps AJAX Control Class Reference ................................................................................ 54
VEAltitudeMode Enumeration ................................................................................................. 56
VEBirdseyeScene Class ......................................................................................................... 56
VEBirdseyeScene Methods ................................................................................................. 57
VEBirdseyeScene.ContainsLatLong Method ................................................................... 58
VEBirdseyeScene.ContainsPixel Method ........................................................................ 59
VEBirdseyeScene.GetBoundingRectangle Method ......................................................... 59
VEBirdseyeScene.GetHeight Method .............................................................................. 60
VEBirdseyeScene.GetID Method ..................................................................................... 60
VEBirdseyeScene.GetOrientation Method ...................................................................... 60
VEBirdseyeScene.GetWidth Method ............................................................................... 61
VEBirdseyeScene.LatLongToPixel Method ..................................................................... 61
VEBirdseyeScene.PixelToLatLong Method ..................................................................... 62
VEClusteringOptions Class .................................................................................................... 62
VEClusteringOptions Constructor ....................................................................................... 63
VEClusteringOptions Properties .......................................................................................... 63
VEClusteringOptions.Icon Property ................................................................................. 64
VEClusteringOptions.Callback Property .......................................................................... 64
VEClusteringType Enumeration ............................................................................................. 64
VEClusterSpecification Class ................................................................................................. 65
VEClusterSpecification Methods ......................................................................................... 65
VEClusterSpecification.GetClusterShape Method ........................................................... 65
VEClusterSpecification Properties ...................................................................................... 66
VEClusterSpecification.Shapes Property......................................................................... 66
VEClusterSpecification.LatLong Property ........................................................................ 66
VEColor Class ......................................................................................................................... 66
VEColor Constructor............................................................................................................ 67
VEColor Properties .............................................................................................................. 68
VEColor.A Property .......................................................................................................... 68
VEColor.B Property .......................................................................................................... 69
VEColor.G Property ......................................................................................................... 69
VEColor.R Property.......................................................................................................... 69
VECustomIconSpecification Class ......................................................................................... 69
VECustomIconSpecification Constructor ............................................................................ 71
VECustomIconSpecification Properties............................................................................... 71
VECustomIconSpecification.BackColor Property ............................................................ 72
VECustomIconSpecification.CustomHTML Property ....................................................... 72
VECustomIconSpecification.ForeColor Property ............................................................. 72
VECustomIconSpecification.Image Property ................................................................... 73
VECustomIconSpecification.ImageOffset Property ......................................................... 73
VECustomIconSpecification.TextBold Property ............................................................... 73
VECustomIconSpecification.TextContent Property ......................................................... 73
VECustomIconSpecification.TextFont Property ............................................................... 73
VECustomIconSpecification.TextItalics Property ............................................................. 74
VECustomIconSpecification.TextOffset Property ............................................................ 74
VECustomIconSpecification.TextSize Property ............................................................... 74
VECustomIconSpecification.TextUnderline Property ...................................................... 74
VEDashboardSize Enumeration ............................................................................................. 74
VEDataType Enumeration ...................................................................................................... 75
VEDistanceUnit Enumeration ................................................................................................. 77
VEException Class ................................................................................................................. 78
VEException Properties ...................................................................................................... 79
VEException.message Property ...................................................................................... 79
VEException.name Property ............................................................................................ 79
VEException.source Property .......................................................................................... 79
VEFailedShapeRequest Enumeration .................................................................................... 79
VEFindResult Class ................................................................................................................ 80
VEFindResult Properties ..................................................................................................... 81
VEFindResult.Description Property ................................................................................. 81
VEFindResult.IsSponsored Property ............................................................................... 81
VEFindResult.LatLong Property ...................................................................................... 82
VEFindResult.Name Property .......................................................................................... 82
VEFindResult.Phone Property ......................................................................................... 82
VEFindResult.FindType Property .................................................................................... 82
VEFindResult.Shape Property ......................................................................................... 82
VEFindType Enumeration ....................................................................................................... 83
VEGeocodeLocation Class ..................................................................................................... 83
VEGeocodeLocation Properties .......................................................................................... 84
VEGeocodeLocation.LatLong Property ........................................................................... 84
VEGeocodeLocation.Precision Property.......................................................................... 84
VEGeocodeOptions Class ...................................................................................................... 84
VEGeocodeOptions Constructor ......................................................................................... 85
VEGeocodeOptions Properties ........................................................................................... 85
VEGeocodeOptions.SetBestMapView Property .............................................................. 86
VEGeocodeOptions.UseDefaultDisambiguation Property ............................................... 86
VEImageryMetadata Class ..................................................................................................... 86
VEImageryMetadata Properties .......................................................................................... 86
VEImageryMetadata.DateRangeStart Property ............................................................... 87
VEImageryMetadata.DateRangeEnd Property ................................................................ 87
VEImageryMetadataOptions Class ......................................................................................... 87
VEImageryMetadataOptions Constructor ........................................................................... 88
VEImageryMetadataOptions Properties .............................................................................. 88
VEImageryMetadataOptions.LatLong Property ............................................................... 89
VEImageryMetadataOptions.MapStyle Property ............................................................. 89
VEImageryMetadataOptions.ZoomLevel Property .......................................................... 89
VELatLong Class .................................................................................................................... 90
VELatLong Constructor ....................................................................................................... 90
VELatLong Properties ......................................................................................................... 91
VELatLong.Altitude Property ............................................................................................ 92
VELatLong.AltitudeMode Property ................................................................................... 92
VELatLong.Latitude Property ........................................................................................... 92
VELatLong.Longitude Property ........................................................................................ 92
VELatLong Methods ............................................................................................................ 93
VELatLong.SetAltitude Method ........................................................................................ 93
VELatLongRectangle Class .................................................................................................... 93
VELatLongRectangle Constructor ....................................................................................... 94
VELatLongRectangle Properties ......................................................................................... 95
VELatLongRectangle.BottomLeftLatLong Property ......................................................... 95
VELatLongRectangle.BottomRightLatLong Property ...................................................... 96
VELatLongRectangle.TopLeftLatLong Property .............................................................. 96
VELatLongRectangle.TopRightLatLong Property ............................................................ 96
VELocationPrecision Enumeration ......................................................................................... 96
VEMap Class .......................................................................................................................... 97
VEMap Constructor ........................................................................................................... 104
VEMap Events ................................................................................................................... 105
Keyboard Events ............................................................................................................ 105
VEMap.onkeypress Event .......................................................................................... 106
VEMap.onkeydown Event .......................................................................................... 106
VEMap.onkeyup Event ............................................................................................... 107
Mouse Events ................................................................................................................ 108
VEMap.onclick Event .................................................................................................. 109
VEMap.ondoubleclick Event ....................................................................................... 111
VEMap.onmousedown Event ..................................................................................... 113
VEMap.onmousemove Event ..................................................................................... 115
VEMap.onmouseout Event ......................................................................................... 116
VEMap.onmouseover Event ....................................................................................... 118
VEMap.onmouseup Event .......................................................................................... 119
VEMap.onmousewheel Event .................................................................................... 121
Bing Maps Events .......................................................................................................... 122
VEMap.onchangemapstyle Event .............................................................................. 124
VEMap.onchangeview Event ...................................................................................... 124
VEMap.oncredentialserror Event ................................................................................ 125
VEMap.oncredentialsvalid Event ................................................................................ 126
VEMap.onendpan Event ............................................................................................. 127
VEMap.onendzoom Event .......................................................................................... 127
VEMap.onerror Event ................................................................................................. 128
VEMap.oninitmode Event ........................................................................................... 129
VEMap.onmodenotavailable Event ............................................................................ 129
VEMap.onobliquechange Event ................................................................................. 130
VEMap.onobliqueenter Event ..................................................................................... 131
VEMap.onobliqueleave Event .................................................................................... 131
VEMap.onresize Event ............................................................................................... 132
VEMap.onstartpan Event ............................................................................................ 133
VEMap.onstartzoom Event ......................................................................................... 133
VEMap.ontokenerror Event ........................................................................................ 134
VEMap.ontokenexpire Event ...................................................................................... 135
VEMap Event Object Properties .................................................................................... 136
VEMap Methods ................................................................................................................ 138
VEMap.AddControl Method ........................................................................................... 145
VEMap.AddCustomLayer Method ................................................................................. 146
VEMap.AddShape Method ............................................................................................ 146
VEMap.AddShapeLayer Method ................................................................................... 147
VEMap.AddTileLayer Method ........................................................................................ 147
VEMap.AttachEvent Method .......................................................................................... 148
VEMap.Clear Method ..................................................................................................... 149
VEMap.ClearInfoBoxStyles Method ............................................................................... 149
VEMap.ClearTraffic Method ........................................................................................... 151
VEMap.DeleteAllShapeLayers Method.......................................................................... 152
VEMap.DeleteAllShapes Method ................................................................................... 152
VEMap.DeleteControl Method ....................................................................................... 152
VEMap.DeleteRoute Method ......................................................................................... 153
VEMap.DeleteShape Method ........................................................................................ 153
VEMap.DeleteShapeLayer Method ............................................................................... 153
VEMap.DeleteTileLayer Method .................................................................................... 154
VEMap.DetachEvent Method ......................................................................................... 154
VEMap.Dispose Method ................................................................................................ 155
VEMap.EnableShapeDisplayThreshold Method ............................................................ 155
VEMap.EndContinuousPan Method .............................................................................. 156
VEMap.Find Method ...................................................................................................... 156
VEMap.FindLocations Method ....................................................................................... 159
VEMap.Geocode Method ............................................................................................... 160
VEMap.GetAltitude Method ........................................................................................... 161
VEMap.GetBirdseyeScene Method ............................................................................... 161
VEMap.GetCenter Method ............................................................................................. 162
VEMap.GetDirections Method ....................................................................................... 162
VEMap.GetHeading Method .......................................................................................... 163
VEMap.GetImageryMetadata Method ........................................................................... 164
VEMap.GetLeft Method ................................................................................................. 165
VEMap.GetMapMode Method ....................................................................................... 165
VEMap.GetMapStyle Method ........................................................................................ 165
VEMap.GetMapView Method ......................................................................................... 165
VEMap.GetPitch Method ............................................................................................... 166
VEMap.GetRoute Method .............................................................................................. 166
VEMap.GetShapeByID Method ..................................................................................... 167
VEMap.GetShapeLayerByIndex Method ....................................................................... 168
VEMap.GetShapeLayerCount Method .......................................................................... 168
VEMap.GetTileLayerByID Method ................................................................................. 169
VEMap.GetTileLayerByIndex Method............................................................................ 169
VEMap.GetTileLayerCount Method ............................................................................... 170
VEMap.GetTop Method ................................................................................................. 170
VEMap.GetVersion Method ........................................................................................... 170
VEMap.GetZoomLevel Method ...................................................................................... 171
VEMap.Hide3DNavigationControl Method .................................................................... 171
VEMap.HideAllShapeLayers Method............................................................................. 171
VEMap.HideBaseTileLayer Method ............................................................................... 172
VEMap.HideControl Method .......................................................................................... 172
VEMap.HideDashboard Method .................................................................................... 172
VEMap.HideFindControl Method ................................................................................... 173
VEMap.HideInfoBox Method .......................................................................................... 173
VEMap.HideMiniMap Method ........................................................................................ 173
VEMap.HideScalebar Method ........................................................................................ 174
VEMap.HideTileLayer Method ....................................................................................... 174
VEMap.HideTrafficLegend Method ................................................................................ 174
VEMap.Import3DModel Method ..................................................................................... 175
VEMap.ImportShapeLayerData Method ........................................................................ 176
VEMap.IncludePointInView Method ............................................................................... 177
VEMap.IsBirdseyeAvailable Method .............................................................................. 177
VEMap.LatLongToPixel Method .................................................................................... 178
VEMap.LoadMap Method .............................................................................................. 179
VEMap.LoadTraffic Method ........................................................................................... 180
VEMap.Pan Method ....................................................................................................... 181
VEMap.PanToLatLong Method ...................................................................................... 181
VEMap.PixelToLatLong Method .................................................................................... 182
VEMap.RemoveCustomLayer Method .......................................................................... 182
VEMap.Resize Method .................................................................................................. 183
VEMap.Search Method .................................................................................................. 183
VEMap.SetAltitude Method ............................................................................................ 184
VEMap.SetBirdseyeOrientation Method ........................................................................ 185
VEMap.SetBirdseyeScene Method ................................................................................ 185
VEMap.SetBirdseyeScene(id) Method ....................................................................... 186
VEMap.SetBirdseyeScene(veLatLong, orientation, zoomLevel, callback) Method ... 186
VEMap.SetCenter Method ............................................................................................. 187
VEMap.SetCenterAndZoom Method ............................................................................. 187
VEMap.SetClientToken Method ..................................................................................... 188
VEMap.SetCredentials Method ...................................................................................... 189
VEMap.SetDashboardSize Method ............................................................................... 189
VEMap.SetDefaultInfoBoxStyles Method ...................................................................... 190
VEMap.SetFailedShapeRequest Method ...................................................................... 190
VEMap.SetHeading Method .......................................................................................... 191
VEMap.SetMapMode Method ........................................................................................ 191
VEMap.SetMapStyle Method ......................................................................................... 192
VEMap.SetMapView Method ......................................................................................... 192
VEMap.SetMouseWheelZoomToCenter Method .......................................................... 193
VEMap.SetPitch Method ................................................................................................ 193
VEMap.SetPrintOptions Method .................................................................................... 194
VEMap.SetScaleBarDistanceUnit Method ..................................................................... 195
VEMap.SetShapesAccuracy Method ............................................................................. 195