In version 5.0 of the VE SDK, pushpins are now specified as an enumeration of the VEShapeLayer class. This class contains rich functionality around rendering various shapes and objects, including images on the VEMap control. The VEShapeType enumeration includes Pushpin, Polyline, and Polygon. For the purposes of this chapter, only pushpins are discussed. Let??™s view a simple example of using pushpins. Consider the following script and markup:
Title:
Description
Here, the VEMap control is instantiated with the coordinates of the Seattle area.