ZoomBarMapTool¶
Namespace: ThinkGeo.UI.Blazor
Provides access to the zoom bar UI control within a MapView.
public class ZoomBarMapTool : MapTool, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender, System.IDisposable
Inheritance object → ComponentBase → MapTool → ZoomBarMapTool
Implements IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Properties¶
Location¶
Gets or sets the location where the zoom bar should be displayed.
public ZoomBarLocation Location { get; set; }
Property Value¶
UseNavigationStyle¶
Gets or sets whether the WPF-style directional pad and vertical zoom slider are displayed. The default is false, which preserves the compact plus/minus control.
public bool UseNavigationStyle { get; set; }
Property Value¶
CenterButtonCenter¶
Gets or sets the map position restored by the center button in navigation style. When it is null, the center button is not displayed.
public PointShape CenterButtonCenter { get; set; }
Property Value¶
PointShape
CenterButtonZoom¶
Gets or sets the zoom level restored by the center button.
public int CenterButtonZoom { get; set; }
Property Value¶
CenterButtonBearing¶
Gets or sets the bearing restored by the center button, in degrees clockwise from north.
public double CenterButtonBearing { get; set; }
Property Value¶
CenterButtonPitch¶
Gets or sets the pitch restored by the center button, in degrees from the flat map view.
public double CenterButtonPitch { get; set; }
Property Value¶
PanOffset¶
Gets or sets how far each directional button pans the map, in screen pixels.
public int PanOffset { get; set; }
Property Value¶
Id¶
Gets or sets the unique identifier used to track this tool. Defaults to a new GUID.
public string Id { get; set; }
Property Value¶
Constructors¶
ZoomBarMapTool()¶
public ZoomBarMapTool()
Methods¶
OnInitialized()¶
Registers the tool with the parent MapView before rendering begins.
protected void OnInitialized()