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 VectorItemsLayer.Data property.
The following image illustrates how to generate several MapCallout items and provide them to the map using MapItemStorage.
Examples
To learn more on how to provide data using the MapItemStorage class, refer to How to: Manually Generate Vector Items.