Provide Vector Items from Well-Known Text
This document explains how to provide vector items manually generated from WKT (Well-Known Text) for the Map Control.
Manually Generate from WKT
To provide manually generated vector items from WKT, do the following.
- Create a SqlGeometryItemStorage object.
- Fill the SqlGeometryItemStorage.Items collection using manually generated SqlGeometryItem objects.
- Assign the SqlGeometryItemStorage object to the VectorLayer.Data property.
The following image illustrates vector items converted from WKT.
Examples
To learn more on how to provide data using the SqlGeometryItemStorage class, refer to How to: Manually Generate Vector Items from WKT.