InMemoryMarkerOverlay¶
Namespace: ThinkGeo.UI.Blazor
public class InMemoryMarkerOverlay : MarkerOverlay, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender
Inheritance Object → ComponentBase → Overlay → MarkerOverlay → InMemoryMarkerOverlay
Implements IComponent, IHandleEvent, IHandleAfterRender
Properties¶
FeatureSource¶
Gets a FeatureSource object by which you can perform queries on the features in the overlay.
public InMemoryFeatureSource FeatureSource { get; set; }
Property Value¶
InMemoryFeatureSource
A FeatureSource object by which you can perform queries on the features in the
overlay.
ZoomLevelSet¶
Gets the ZoomLevelSet object that controls the markers' generation.
public MarkerZoomLevelSet ZoomLevelSet { get; set; }
Property Value¶
MarkerZoomLevelSet
A ZoomLevelSet object that controls the markers' generation.
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¶
InMemoryMarkerOverlay()¶
Initialize an instance of the InMemoryMarkerOverlay class.
public InMemoryMarkerOverlay()
InMemoryMarkerOverlay(String)¶
Initialize an instance of the InMemoryMarkerOverlay class.
public InMemoryMarkerOverlay(string id)
Parameters¶
id
String
The identifier of the overlay, which is used for retrieving the overlay.
Methods¶
BuildRenderTree(RenderTreeBuilder)¶
protected void BuildRenderTree(RenderTreeBuilder __builder)
Parameters¶
__builder
RenderTreeBuilder
GetMarkersCore(RectangleShape, Int32)¶
Returns a collection of markers based on the extent and zoomlevel that you passed in.
protected Collection<Marker> GetMarkersCore(RectangleShape worldExtent, int currentZoomLevelId)
Parameters¶
worldExtent
RectangleShape
The extent that includes all of the markers that you want to serialize.
currentZoomLevelId
Int32
An int value that indicates which zoomlevel the map is currently at.
Returns¶
Collection<Marker>
A collection of marker objects that will be serialized to the client.