GeoBlazor Pro


layout: pro title: LabelScheme parent: Pro Classes grand_parent: GeoBlazor Pro —

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

LabelScheme Class

Contains a suggested labelingInfo to be set on the layer’s featureReduction.labelingInfo.
ArcGIS Maps SDK for JavaScript

public class LabelScheme :
System.IEquatable<dymaptic.GeoBlazor.Pro.Model.LabelScheme>

Inheritance System.Object 🡒 LabelScheme

Implements System.IEquatable<LabelScheme>

Constructors

LabelScheme(string, string, IReadOnlyCollection

Contains a suggested labelingInfo to be set on the layer’s featureReduction.labelingInfo.
ArcGIS Maps SDK for JavaScript

public LabelScheme(string Name, string FieldName, System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Label> LabelingInfo, System.Nullable<double> ClusterMinSize);

Parameters

Name System.String

The name of the generated cluster labeling scheme. This can be used in the UI of web map authoring apps.

FieldName System.String

The name of the aggregate field the labeling scheme is based on. This can be used in the UI of web map authoring apps.

LabelingInfo System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Label>

An array of LabelClass objects to set on the layer’s featureReduction.labelingInfo property.

ClusterMinSize System.Nullable<System.Double>

The suggested featureReduction.clusterMinSize required to fit labels within clusters.

Properties

LabelScheme.ClusterMinSize Property

The suggested featureReduction.clusterMinSize required to fit labels within clusters.

public System.Nullable<double> ClusterMinSize { get; set; }

Property Value

System.Nullable<System.Double>

LabelScheme.FieldName Property

The name of the aggregate field the labeling scheme is based on. This can be used in the UI of web map authoring apps.

public string FieldName { get; set; }

Property Value

System.String

LabelScheme.LabelingInfo Property

An array of LabelClass objects to set on the layer’s featureReduction.labelingInfo property.

public System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Label> LabelingInfo { get; set; }

Property Value

System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Label>

LabelScheme.Name Property

The name of the generated cluster labeling scheme. This can be used in the UI of web map authoring apps.

public string Name { get; set; }

Property Value

System.String