layout: default title: LegendOptions parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

LegendOptions Class

An object providing options for displaying the visual variable in the Legend.

public class LegendOptions : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 LegendOptions

Properties

LegendOptions.ShowLegend Property

Indicates whether to show the visual variable in the legend.

public System.Nullable<bool> ShowLegend { get; set; }

Property Value

System.Nullable<System.Boolean>

LegendOptions.Title Property

The title describing the visualization of the visual variable in the Legend. This takes precedence over a field
alias or valueExpressionTitle.

public string? Title { get; set; }

Property Value

System.String