Geometry Service GetLabelPoints method

Calculates points for label placement inside each input polygon.

 

GetLabelPoints(SpatialReference SpatialReference, Polygon[] InPolygonArray)

 

Parameter

Description

SpatialReference

SpatialReference of the geometries in the InPolygonArray. Cannot be null.

 

InPolygonArray

The array of Polygons on which to determine an optimum, interior label point. All geometries are assumed to be in the coordinate system defined by the input SpatialReference.

 

 

Return Value

 

An array of Points (Point[]). You can cast each point to PointN.
 

Remarks

 
Generates one point geometry per input polygon.  Each point is guaranteed to be inside its corresponding polygon.

 

Examples

C#

VB.NET

Java