layout: default title: LayerInfo parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Widgets

LayerInfo Class

Specifies a layer to display in the legend.

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

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

Properties

LayerInfo.Layer Property

A layer to display in the legend.

public dymaptic.GeoBlazor.Core.Components.Layers.Layer Layer { get; set; }

Property Value

Layer

LayerInfo.SublayerIds Property

Only applicable if the layer is a MapImageLayer. The IDs of the MapImageLayer sublayers for which to display legend
information.

public int[]? SublayerIds { get; set; }

Property Value

System.Int32[]

LayerInfo.Title Property

Specifies a title for the layer to display above its symbols and descriptions. If no title is specified the service
name is used.

public string? Title { get; set; }

Property Value

System.String