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¶
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¶
EditOverlaySetting¶
public RenderFragment EditOverlaySetting { get; set; }
Property Value¶
RenderFragment
Height¶
public int Height { get; set; }
Property Value¶
Id¶
public string Id { get; set; }
Property Value¶
IsLoaded¶
public bool IsLoaded { get; private set; }
Property Value¶
MapTools¶
public MapTools MapTools { get; internal set; }
Property Value¶
MapToolsSetting¶
public RenderFragment MapToolsSetting { get; set; }
Property Value¶
RenderFragment
MarkerOverlay¶
public MarkerOverlay MarkerOverlay { get; internal set; }
Property Value¶
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¶
PopupOverlaySetting¶
public RenderFragment PopupOverlaySetting { get; set; }
Property Value¶
RenderFragment
Width¶
public int Width { get; set; }
Property Value¶
ProgressiveZooming¶
public bool ProgressiveZooming { get; set; }
Property Value¶
Zoom¶
public int Zoom { get; set; }
Property Value¶
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¶
Constructors¶
MapView()¶
public MapView()
Methods¶
BuildRenderTree(RenderTreeBuilder)¶
protected void BuildRenderTree(RenderTreeBuilder __builder)
Parameters¶
__builder
RenderTreeBuilder
GetCurrentExtentAsync()¶
public Task<RectangleShape> GetCurrentExtentAsync()
Returns¶
PanToAsync(PointShape)¶
public Task PanToAsync(PointShape center)
Parameters¶
center
PointShape
Returns¶
GetCenterAsync()¶
public Task<PointShape> GetCenterAsync()
Returns¶
SetCenterAsync(PointShape)¶
public Task SetCenterAsync(PointShape center)
Parameters¶
center
PointShape
Returns¶
ZoomInAsync()¶
public Task ZoomInAsync()
Returns¶
ZoomOutAsync()¶
public Task ZoomOutAsync()
Returns¶
ZoomToCenterAsync(Int32, PointShape)¶
public Task ZoomToCenterAsync(int zoom, PointShape center)
Parameters¶
zoom
Int32
center
PointShape
Returns¶
OnAfterRenderAsync(Boolean)¶
protected Task OnAfterRenderAsync(bool firstRender)
Parameters¶
firstRender
Boolean