Skip to main content
Version: 4.2

MapRegionEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Identifies an activated GeoJSON feature and its configured numeric value.

public class MapRegionEventArgs : EventArgs

Derives from or implements EventArgs.

Use FeatureId, Value to access the event data.

Example:

map.RegionClick += (s, e) => Console.WriteLine(e.FeatureId + ": " + e.Value);

Constructors​

Instance member MapRegionEventArgs(featureId, value)​

Creates region event data.

NameTypeDescription
featureIdStringThe GeoJSON id, or zero-based feature index when absent.
valueNullable<Double>The finite number read from ValueMember, or null.

Properties​

Instance member FeatureId​

String: Gets the feature identifier supplied by the server's GeoJSON.

Instance member Value​

Nullable<Double>: Gets the configured numeric value, or null when missing or nonnumeric.