Skip to content

MapView

Namespace: ThinkGeo.UI.Blazor

public class MapView : Microsoft.AspNetCore.Components.ComponentBase, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IDisposable

Inheritance Object → ComponentBase → MapView
Implements IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Properties

OnClick

public EventCallback<ClickedMapViewEventArgs> OnClick { get; set; }

Property Value

EventCallback<ClickedMapViewEventArgs>

OnCurrentExtentChanged

public EventCallback<CurrentExtentChangedMapViewEventArgs> OnCurrentExtentChanged { get; set; }

Property Value

EventCallback<CurrentExtentChangedMapViewEventArgs>

OnDoubleClick

public EventCallback<DoubleClickedMapViewEventArgs> OnDoubleClick { get; set; }

Property Value

EventCallback<DoubleClickedMapViewEventArgs>

AdornmentOverlay

public AdornmentOverlay AdornmentOverlay { get; internal set; }

Property Value

AdornmentOverlay

AdornmentOverlaySetting

public RenderFragment AdornmentOverlaySetting { get; set; }

Property Value

RenderFragment

Center

public PointShape Center { get; set; }

Property Value

PointShape

EditOverlay

public EditOverlay EditOverlay { get; internal set; }

Property Value

EditOverlay

EditOverlaySetting

public RenderFragment EditOverlaySetting { get; set; }

Property Value

RenderFragment

Height

public int Height { get; set; }

Property Value

Int32

Id

public string Id { get; set; }

Property Value

String

IsLoaded

public bool IsLoaded { get; private set; }

Property Value

Boolean

MapTools

public MapTools MapTools { get; internal set; }

Property Value

MapTools

MapToolsSetting

public RenderFragment MapToolsSetting { get; set; }

Property Value

RenderFragment

MarkerOverlay

public MarkerOverlay MarkerOverlay { get; internal set; }

Property Value

MarkerOverlay

MarkerOverlaySetting

public RenderFragment MarkerOverlaySetting { get; set; }

Property Value

RenderFragment

MapUnit

public GeographyUnit MapUnit { get; set; }

Property Value

GeographyUnit

RestrictExtent

public RectangleShape RestrictExtent { get; set; }

Property Value

RectangleShape

OnMouseMove

public EventCallback<MouseMovingMapViewEventArgs> OnMouseMove { get; set; }

Property Value

EventCallback<MouseMovingMapViewEventArgs>

OnSizeChanged

public EventCallback<SizeChangedMapViewEventArgs> OnSizeChanged { get; set; }

Property Value

EventCallback<SizeChangedMapViewEventArgs>

Overlays

public GeoCollection<Overlay> Overlays { get; }

Property Value

GeoCollection<Overlay>

OverlaysSetting

public RenderFragment OverlaysSetting { get; set; }

Property Value

RenderFragment

PopupOverlay

public PopupOverlay PopupOverlay { get; internal set; }

Property Value

PopupOverlay

PopupOverlaySetting

public RenderFragment PopupOverlaySetting { get; set; }

Property Value

RenderFragment

Width

public int Width { get; set; }

Property Value

Int32

ProgressiveZooming

public bool ProgressiveZooming { get; set; }

Property Value

Boolean

Zoom

public int Zoom { get; set; }

Property Value

Int32

BackgroundColor

public GeoColor BackgroundColor { get; set; }

Property Value

GeoColor

ZoomLevelSet

public ZoomLevelSet ZoomLevelSet { get; set; }

Property Value

ZoomLevelSet

MapViewSizeUnitType

public MapViewSizeUnitType MapViewSizeUnitType { get; set; }

Property Value

MapViewSizeUnitType

Constructors

MapView()

public MapView()

Methods

BuildRenderTree(RenderTreeBuilder)

protected void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

GetCurrentExtentAsync()

public Task<RectangleShape> GetCurrentExtentAsync()

Returns

Task<RectangleShape>

PanToAsync(PointShape)

public Task PanToAsync(PointShape center)

Parameters

center PointShape

Returns

Task

GetCenterAsync()

public Task<PointShape> GetCenterAsync()

Returns

Task<PointShape>

SetCenterAsync(PointShape)

public Task SetCenterAsync(PointShape center)

Parameters

center PointShape

Returns

Task

ZoomInAsync()

public Task ZoomInAsync()

Returns

Task

ZoomOutAsync()

public Task ZoomOutAsync()

Returns

Task

ZoomToCenterAsync(Int32, PointShape)

public Task ZoomToCenterAsync(int zoom, PointShape center)

Parameters

zoom Int32

center PointShape

Returns

Task

OnAfterRenderAsync(Boolean)

protected Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender Boolean

Returns

Task