Export (0) Print
Expand All

VEShape 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 information about a map shape.

Constructor

Name Description

VEShape Constructor

Initializes a new instance of the VEShape object.

Public Events

Name Description

VEShape.ondrag Event

Occurs when a shape is being dragged across the map.

VEShape.onenddrag Event

Occurs when a shape drag has stopped.

VEShape.onstartdrag Event

Occurs when the user starts dragging the shape.

Public Methods

Name Description

VEShape.GetAltitude Method

Returns the altitude for the shape.

VEShape.GetAltitudeMode Method

Gets the mode in which the shape's altitude is represented.

VEShape.GetCustomIcon Method

Gets the VEShape object's custom icon.

VEShape.GetDescription Method

Gets the description of the VEShape object.

VEShape.GetFillColor Method

Gets the fill color and transparency for a polygon.

VEShape.GetIconAnchor Method

Gets a VELatLong Class object representing the shape's custom icon anchor point.

VEShape.GetID Method

Gets the internal identifier of the VEShape object.

VEShape.GetLineColor Method

Gets the line color or transparency for a polyline or polygon.

VEShape.GetLineToGround Method

Gets whether a line is drawn from the shape to the ground.

VEShape.GetLineWidth Method

Gets the line width of a polyline or polygon.

VEShape.GetMaxZoomLevel Method

Gets the maximum zoom level at which the shape is visible.

VEShape.GetMinZoomLevel Method

Gets the minimum zoom level at which the shape is visible.

VEShape.GetMoreInfoURL Method

Gets the shape's "more info" URL.

VEShape.GetPhotoURL Method

Gets the shape's "photo" URL.

VEShape.GetPoints Method

Returns an array of VELatLong Class objects representing the points that make up the pushpin, polyline, or polygon.

VEShape.GetShapeLayer Method

Gets the reference to the layer containing the specified VEShape object.

VEShape.GetTitle Method

Gets the title of the VEShape object.

VEShape.GetType Method

Gets the type of the VEShape object.

VEShape.GetZIndex Method

Gets the z-index of a pushpin shape or pushpin attached to a polyline or polygon.

VEShape.GetZIndexPolyShape Method

Gets the z-index for a polyline or polygon.

VEShape.Hide Method

Hides the specified VEShape object from view.

VEShape.HideIcon Method

Hides the icon associated with a polyline or polygon. This method is ignored for pushpins.

VEShape.IsModel Method

Returns whether the shape is a model.

VEShape.SetAltitude Method

Specifies the altitude for the shape.

VEShape.SetAltitudeMode Method

Specifies the mode in which a shape's altitude is represented.

VEShape.SetCustomIcon Method

Sets the VEShape object's custom icon.

VEShape.SetDescription Method

Sets the description of the VEShape object.

VEShape.SetFillColor Method

Sets the fill color and transparency of a polygon.

VEShape.SetIconAnchor Method

Sets the info box anchor of the VEShape object.

VEShape.SetLineColor Method

Sets the line color or transparency for a polyline or polygon.

VEShape.SetLineToGround Method

Specifies whether a line is drawn from the shape to the ground.

VEShape.SetLineWidth Method

Sets the line width for a polyline or polygon.

VEShape.SetMaxZoomLevel Method

Sets the maximum zoom level at which the shape is visible.

VEShape.SetMinZoomLevel Method

Sets the minimum zoom level at which the shape is visible.

VEShape.SetMoreInfoURL Method

Sets the shape's "more info" URL.

VEShape.SetPhotoURL Method

Sets the shape's "photo" URL.

VEShape.SetPoints Method

Sets the points of the VEShape object.

VEShape.SetTitle Method

Sets the title of the VEShape object.

VEShape.SetZIndex Method

Sets the z-index value for a shape.

VEShape.Show Method

Makes the specified VEShape object visible.

VEShape.ShowIcon Method

Shows the icon associated with a polyline or polygon. This method is ignored for pushpins.

Public Properties

Name Description

VEShape.Draggable Property

A Boolean value indicating whether the VEShape icon on the map can be dragged using the mouse.

Remarks

The VEShape class is designed to provide advanced polygon and polyline functionality. The VEShape class contains enumerated types for pushpins, polylines, and polygons.

See Also

Show:
© 2014 Microsoft