Provide Manually Generated Vector Items
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.
To learn more about how to bind data using the MapItemStorage class, refer to How to: Manually Generate Vector Items.