Export (0) Print
Expand All

VEShapeLayer 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 information about shape layers. Shape layers are a mechanism to create and manage arbitrary groups of shapes (pushpines, polylines, and polygons). Map shape layers can be created from GeoRSS XML files, custom map tiles, or from any public Bing Maps (http://maps.live.com) collection.

Constructor

Name Description

VEShapeLayer Constructor

Initializes a new instance of the VEShapeLayer object.

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