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