Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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 vector items created from WKT (Well-Known Text), use the SqlGeometryItemStorage class. Create an object of this class and assign it to the VectorItemsLayer.Data property. Then, create SqlGeometryItem objects and add them to the SqlGeometryItemStorage.Items collection.

The following image illustrates vector items converted from WKT.

SqlGeometryItemStorageImage

To learn more on how to provide data using the SqlGeometryItemStorage class, refer to How to: Manually Generate Vector Items from WKT.