Provide Manually Generated Vector Items
This document explains how to provide vector items manually generated for the Map Control using MapItem class descendants.
#Provide Manually Created Vector Items
To provide manually generated map items, do the following.
- Create a MapItemStorage object.
- Fill the MapItemStorage.Items collection using the MapItem class descendants.
- Assign the MapItemStorage object to the VectorLayer.Data property.
The following image illustrates how to generate several MapPushpin items and provide them to the map using the MapItemStorage.
#Examples
To learn more about how to bind data using the MapItemStorage class, refer to How to: Manually Generate Vector Items.