MapRegionEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Identifies an activated GeoJSON feature and its configured numeric value.
- C#
- VB.NET
public class MapRegionEventArgs : EventArgs
Public Class MapRegionEventArgs
Inherits 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
MapRegionEventArgs(featureId, value)
Creates region event data.
| Name | Type | Description |
|---|---|---|
| featureId | String | The GeoJSON id, or zero-based feature index when absent. |
| value | Nullable<Double> | The finite number read from ValueMember, or null. |
Properties
FeatureId
String: Gets the feature identifier supplied by the server's GeoJSON.
Value
Nullable<Double>: Gets the configured numeric value, or null when missing or nonnumeric.