MarkerOverlay¶
Inheritance Hierarchy¶
Object
ComponentBase
Overlay
MarkerOverlay
Members Summary¶
Public Constructors Summary¶
Name |
---|
MarkerOverlay() |
Protected Constructors Summary¶
Name |
---|
N/A |
Public Properties Summary¶
Name | Return Type | Description |
---|---|---|
Id | String | N/A |
IsVisible | Boolean | N/A |
OnClick | EventCallback<ClickedMarkerOverlayEventArgs > | Occurs when the mouse click a marker. |
OnMouseOut | EventCallback<MouseOutMarkerOverlayEventArgs > | Occurs when the mouse move out of a marker. |
OnMouseOver | EventCallback<MouseOverMarkerOverlayEventArgs > | Occurs when the mouse over a marker. |
Protected Properties Summary¶
Name | Return Type | Description |
---|---|---|
JSRuntime | IJSRuntime | N/A |
MapView | MapView | N/A |
Public Methods Summary¶
Name |
---|
Equals(Object) |
GetHashCode() |
GetMarkers(RectangleShape,Int32) |
GetType() |
RedrawAsync() |
SetParametersAsync(ParameterView) |
ToString() |
Protected Methods Summary¶
Public Events Summary¶
Name | Event Arguments | Description |
---|---|---|
N/A | N/A | N/A |
Members Detail¶
Public Constructors¶
Name |
---|
MarkerOverlay() |
Protected Constructors¶
Public Properties¶
Id
¶
Summary
N/A
Remarks
N/A
Return Value
String
IsVisible
¶
Summary
N/A
Remarks
N/A
Return Value
Boolean
OnClick
¶
Summary
Occurs when the mouse click a marker.
Remarks
N/A
Return Value
EventCallback<ClickedMarkerOverlayEventArgs
>
OnMouseOut
¶
Summary
Occurs when the mouse move out of a marker.
Remarks
N/A
Return Value
EventCallback<MouseOutMarkerOverlayEventArgs
>
OnMouseOver
¶
Summary
Occurs when the mouse over a marker.
Remarks
N/A
Return Value
EventCallback<MouseOverMarkerOverlayEventArgs
>
Protected Properties¶
JSRuntime
¶
Summary
N/A
Remarks
N/A
Return Value
IJSRuntime
MapView
¶
Summary
N/A
Remarks
N/A
Return Value
Public Methods¶
Equals(Object)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
obj | Object | N/A |
GetHashCode()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Int32 | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
GetMarkers(RectangleShape,Int32)
¶
Summary
Returns a collection of markers based on the extent and zoomlevel that you passed in.
Remarks
The GetMarkers method creates the makrers based on the current zoomlevel, the specified extent and the special logic of the MarkerOverlay. The returned markers object will be serialized and sent to the client to create client markers.
Return Value
Type | Description |
---|---|
Collection<Marker > | A collection of marker objects that will be serialized to the client. |
Parameters
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape | The extent that includes all of the markers you want to serialize. |
currentZoomLevelId | Int32 | An int value that indicates which zoomlevel the map is currently at. |
GetType()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Type | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
RedrawAsync()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
SetParametersAsync(ParameterView)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
parameters | ParameterView | N/A |
ToString()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
String | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
Protected Methods¶
AddMarker(Marker)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
marker | Marker | N/A |
BuildRenderTree(RenderTreeBuilder)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
builder | RenderTreeBuilder | N/A |
Finalize()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
GetMarkersCore(RectangleShape,Int32)
¶
Summary
Returns a collection of markers based on the extent and zoomlevel that you passed in.
Remarks
The GetMarkersCore method allows derived classes to rewrite the logic used for dynamically creating the markers that will be serialized to the client.
Return Value
Type | Description |
---|---|
Collection<Marker > | A collection of Marker objects that will be serialized to the client. |
Parameters
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape | The extent that includes all of the markers you want to serialize. |
zoomLevel | Int32 | An int value that indicates which zoomlevel the map is currently at. |
InitAsync()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
InvokeAsync(Action)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
workItem | Action | N/A |
InvokeAsync(Func<Task>)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
workItem | Func<Task > | N/A |
MemberwiseClone()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Object | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
OnAfterRender(Boolean)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
firstRender | Boolean | N/A |
OnAfterRenderAsync(Boolean)
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
firstRender | Boolean | N/A |
OnInitialized()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
OnInitializedAsync()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
OnParametersSet()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
OnParametersSetAsync()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
ReleaseAsync()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Task | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
ShouldRender()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Boolean | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |
StateHasChanged()
¶
Summary
N/A
Remarks
N/A
Return Value
Type | Description |
---|---|
Void | N/A |
Parameters
Name | Type | Description |
---|---|---|
N/A | N/A | N/A |