layout: default title: CustomOverlay parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

CustomOverlay Class

A container for placing custom html or Razor Components on top of the Map View.

public class CustomOverlay : Microsoft.AspNetCore.Components.ComponentBase

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 CustomOverlay

Properties

CustomOverlay.ChildContent Property

The child content to place over the map.

public Microsoft.AspNetCore.Components.RenderFragment? ChildContent { get; set; }

Property Value

Microsoft.AspNetCore.Components.RenderFragment

CustomOverlay.Position Property

The position to place the child content over the map.

public dymaptic.GeoBlazor.Core.Components.OverlayPosition Position { get; set; }

Property Value

OverlayPosition

Methods

CustomOverlay.Refresh() Method

A convenience method to force the child content to call StateHasChanged

public void Refresh();