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 (https://maps.live.com) collection.
Constructor
Name | Description | |
---|---|---|
Initializes a new instance of the VEShapeLayer object. |
Public Methods
Name | Description | |||||
---|---|---|---|---|---|---|
Adds an existing VEShape Class object to the layer based on the specified VEShape reference. |
||||||
Deletes all VEShape objects from the layer. |
||||||
Deletes a VEShape object from the current layer. |
||||||
Returns a best-fit VELatLongRectangle Class object based on the shapes currently present in the layer. |
||||||
Returns an array of VEClusterSpecification Class objects representing the calculated pushpin clusters. |
||||||
A String object containing the description of the VEShapeLayer object. |
||||||
Retrieves a reference to a VEShape object contained in this layer based on the specified ID. |
||||||
Retrieves a reference to a VEShape object contained in this layer based on the specified index. |
||||||
Returns the total number of shapes in the current layer. |
||||||
Gets the title of the VEShapeLayer object. |
||||||
Returns whether the layer is visible. |
||||||
Hides the layer from view on the map. |
||||||
Sets the method for determining which pushpins are clustered as well as how the cluster is displayed. |
||||||
Sets the description of the VEShapeLayer object. |
||||||
Sets the title of the VEShapeLayer object. |
||||||
Shows the layer on the map. |