VERIFIED SOLUTION i
X

Displying nodes, centroids and line direction of features on a map in MapXtreme .NET

UPDATED: August 27, 2018


It is possible to display nodes, centroids and line direction of features on a map in MapXtreme .NET. These options are properties of the Feature Layer class.

C#  Code:
FeatureLayer lyr = mapControl1.Map.Layers["USA"] as FeatureLayer;
lyr.ShowNodes =true;
lyr.ShowCentroids = true;
lyr.ShowLineDirection =true;
VB.Net Code:
Dim lyr As FeatureLayer = mapControl1.Map.Layers.Item("USA")
lyr.ShowNodes = True
lyr.ShowCentroids = True
lyr.ShowLineDirection = True




 

Downloads

  • No Downloads