VEShapeSourceSpecification Constructor

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.

Initializes a new instance of the VEShapeSourceSpecification class.

var x = new VEShapeSourceSpecification (dataType, dataSource, layer);

Parameters

Parameter Description

dataType

A VEDataType Enumeration that specifies the type of data to import. Required.

dataSource

A URL representing the GeoRSS feed or KML data, or a globally-unique identifier (GUID) representing the Live Maps collection. Required.

layer

A VEShapeLayer Class object in which the VEShape objects are contained after importing. If this parameter value is null, the VEShape objects are added to the base layer.

Remarks

See Also

Reference

VEMap.ImportShapeLayerData Method
VEShapeSourceSpecification.Layer Property
VEShapeSourceSpecification.LayerSource Property
VEShapeSourceSpecification.Type Property