MapServerIdentifyResult

A class containing the result of an identify operation on a map service.

Property

Type

Description

FeatureID

int

The id of the feature.

FeatureIDSpecified

bool

Indicates if FeatureID is specified.

HTMLPopup

string

The string to appear in the popup.

LayerID

int

The unique ID of the layer which contains the identify result.

Name

string

The value of the primary display field for the returned feature.

Properties

PropertySet

A set of name/value pairs containing the field names and values for the feature returned. By default all values are returned as strings. Fields that are not visible in the map will not be visible the result.

Relationships

MapServerRelationship[]

If relate has been established on the identified layer, this property references an array of relationships, each containing one or more rows of data in the related layer or table.

Shape

Geometry

The geometry of the returned feature.

Remarks

This object provides information about the result of an Identify query.

2/28/2020