SimpleMarkerOverlay¶
Namespace: ThinkGeo.UI.Blazor
public class SimpleMarkerOverlay : MarkerOverlay, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender
Inheritance Object → ComponentBase → Overlay → MarkerOverlay → SimpleMarkerOverlay
Implements IComponent, IHandleEvent, IHandleAfterRender
Properties¶
Markers¶
A collection of Marker to show.
public GeoCollection<Marker> Markers { get; set; }
Property Value¶
GeoCollection<Marker>
MarkerSource¶
Gets or sets a collection used to generate the markers.
public IEnumerable MarkerSource { get; set; }
Property Value¶
MarkersSetting¶
Defines how to render each item from MarkerSource.
public RenderFragment<object> MarkersSetting { get; set; }
Property Value¶
RenderFragment<Object>
IsVisible¶
public bool IsVisible { get; set; }
Property Value¶
OnClick¶
Occurs when the mouse click a marker.
public EventCallback<ClickedMarkerOverlayEventArgs> OnClick { get; set; }
Property Value¶
EventCallback<ClickedMarkerOverlayEventArgs>
OnMouseOut¶
Occurs when the mouse move out of a marker.
public EventCallback<MouseOutMarkerOverlayEventArgs> OnMouseOut { get; set; }
Property Value¶
EventCallback<MouseOutMarkerOverlayEventArgs>
OnMouseOver¶
Occurs when the mouse over a marker.
public EventCallback<MouseOverMarkerOverlayEventArgs> OnMouseOver { get; set; }
Property Value¶
EventCallback<MouseOverMarkerOverlayEventArgs>
Id¶
Gets or sets Id.
public string Id { get; set; }
Property Value¶
Constructors¶
SimpleMarkerOverlay()¶
public SimpleMarkerOverlay()
Methods¶
BuildRenderTree(RenderTreeBuilder)¶
protected void BuildRenderTree(RenderTreeBuilder __builder)
Parameters¶
__builder
RenderTreeBuilder
GetMarkersCore(RectangleShape, Int32)¶
protected Collection<Marker> GetMarkersCore(RectangleShape worldExtent, int currentZoomLevelId)
Parameters¶
worldExtent
RectangleShape
currentZoomLevelId
Int32
Returns¶
AddMarker(Marker)¶
internal void AddMarker(Marker marker)
Parameters¶
marker
Marker