Search Results for

    Show / Hide Table of Contents

    Namespace Mapsui.Widgets.Zoom

    Classes

    ZoomInOutWidget

    Widget which shows two buttons (horizontal or vertical) with a "+" and a "-" sign. With this, the user could zoom the map in and out.

    Usage To show a ZoomInOutWidget, add a instance of the ZoomInOutWidget to Map.Widgets by

    map.Widgets.Add(new ZoomInOutWidget(map));

    Customize Size: Height and Width of the buttons Orientation: Orientation of the buttons. Could be Horizontal or Vertical. Vertical is default. StrokeColor: Color of button frames TextColor: Color of "+" and "-" signs BackColor: Color of button background Opacity: Opacity of buttons ZoomFactor: Factor for changing Resolution. Default is 2;

    Enums

    Orientation

    In this article
    Back to top Generated by DocFX