getFeatureProperties Method

Obtain the JSON properties associated with the specified transient Id.

getFeatureProperties(id: string): Record<string, any> | undefined

@returns A corresponding JSON object representing the feature's properties, or undefined if no such properties exist.

@note Treat the JSON properties as read-only - do not modify them.

Parameter Type Description
id string The transient Id mapped to the feature of interest.

Returns - Record<string, any> | undefined

A corresponding JSON object representing the feature's properties, or undefined if no such properties exist.

Defined in

Last Updated: 07 May, 2026