Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

VEShapeLayer Methods

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.

The methods of the VEShapeLayer class are listed here. For a complete list of VEShapeLayer class members, see the VEShapeLayer Class topic.

Public Methods

Name Description

VEShapeLayer.AddShape Method

Adds an existing VEShape Class object to the layer based on the specified VEShape reference.

VEShapeLayer.DeleteAllShapes Method

Deletes all VEShape objects from the layer.

VEShapeLayer.DeleteShape Method

Deletes a VEShape object from the current layer.

VEShapeLayer.GetBoundingRectangle Method

Returns a best-fit VELatLongRectangle Class object based on the shapes currently present in the layer.

VEShapeLayer.GetClusteredShapes Method

Returns an array of VEClusterSpecification Class objects representing the calculated pushpin clusters.

VEShapeLayer.GetDescription Method

A String object containing the description of the VEShapeLayer object.

VEShapeLayer.GetShapeByID Method

Retrieves a reference to a VEShape object contained in this layer based on the specified ID.

VEShapeLayer.GetShapeByIndex Method

Retrieves a reference to a VEShape object contained in this layer based on the specified index.

VEShapeLayer.GetShapeCount Method

Returns the total number of shapes in the current layer.

VEShapeLayer.GetTitle Method

Gets the title of the VEShapeLayer object.

VEShapeLayer.IsVisible Method

Returns whether the layer is visible.

VEShapeLayer.Hide Method

Hides the layer from view on the map.

VEShapeLayer.SetClusteringConfiguration Method

Sets the method for determining which pushpins are clustered as well as how the cluster is displayed.

VEShapeLayer.SetDescription Method

Sets the description of the VEShapeLayer object.

VEShapeLayer.SetTitle Method

Sets the title of the VEShapeLayer object.

VEShapeLayer.Show Method

Shows the layer on the map.

See Also

Show:
© 2015 Microsoft