VEShape Class
Contains the information about a map shape.
Constructor
| Name | Description | |
|---|---|---|
|
Initializes a new instance of the VEShape object. |
||
Public Events
| Name | Description |
|---|---|
|
Occurs when a shape is being dragged across the map. |
|
|
Occurs when a shape drag has stopped. |
|
|
Occurs when the user starts dragging the shape. |
Public Methods
| Name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
Returns the altitude for the shape. |
|||||||
|
Gets the mode in which the shape's altitude is represented. |
|||||||
|
Gets the VEShape object's custom icon. |
|||||||
|
Gets the description of the VEShape object. |
|||||||
|
Gets the fill color and transparency for a polygon. |
|||||||
|
Gets a VELatLong Class object representing the shape's custom icon anchor point. |
|||||||
|
Gets the internal identifier of the VEShape object. |
|||||||
|
Gets the line color or transparency for a polyline or polygon. |
|||||||
|
Gets whether a line is drawn from the shape to the ground. |
|||||||
|
Gets the line width of a polyline or polygon. |
|||||||
|
Gets the maximum zoom level at which the shape is visible. |
|||||||
|
Gets the minimum zoom level at which the shape is visible. |
|||||||
|
Gets the shape's "more info" URL. |
|||||||
|
Gets the shape's "photo" URL. |
|||||||
|
Returns an array of VELatLong Class objects representing the points that make up the pushpin, polyline, or polygon. |
|||||||
|
Gets the reference to the layer containing the specified VEShape object. |
|||||||
|
Gets the title of the VEShape object. |
|||||||
|
Gets the type of the VEShape object. |
|||||||
|
Gets the z-index of a pushpin shape or pushpin attached to a polyline or polygon. |
|||||||
|
Gets the z-index for a polyline or polygon. |
|||||||
|
Hides the specified VEShape object from view. |
|||||||
|
Hides the icon associated with a polyline or polygon. This method is ignored for pushpins. |
|||||||
|
Returns whether the shape is a model. |
|||||||
|
Specifies the altitude for the shape. |
|||||||
|
Specifies the mode in which a shape's altitude is represented. |
|||||||
|
Sets the VEShape object's custom icon. |
|||||||
|
Sets the description of the VEShape object. |
|||||||
|
Sets the fill color and transparency of a polygon. |
|||||||
|
Sets the info box anchor of the VEShape object. |
|||||||
|
Sets the line color or transparency for a polyline or polygon. |
|||||||
|
Specifies whether a line is drawn from the shape to the ground. |
|||||||
|
Sets the line width for a polyline or polygon. |
|||||||
|
Sets the maximum zoom level at which the shape is visible. |
|||||||
|
Sets the minimum zoom level at which the shape is visible. |
|||||||
|
Sets the shape's "more info" URL. |
|||||||
|
Sets the shape's "photo" URL. |
|||||||
|
Sets the points of the VEShape object. |
|||||||
|
Sets the title of the VEShape object. |
|||||||
|
Sets the z-index value for a shape. |
|||||||
|
Makes the specified VEShape object visible. |
|||||||
|
Shows the icon associated with a polyline or polygon. This method is ignored for pushpins. |
|||||||
Public Properties
| Name | Description |
|---|---|
|
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.