Maps for WPF | ComponentOne
In This Topic
    Map Tools
    In This Topic

    The panning and zooming tools displayed by default in the map are implemented in the C1MapToolsLayer. It is included in C1Maps' template, so it's not necessary to add it to the Layers collection. To customize the tools you will first hide the default tools by setting C1Maps.ShowTools to False, and then add your own C1MapToolsLayer instance. Here is the XAML for this:

    <c1:C1Maps ShowTools="false">
            <c1:C1Maps.Layers>
                <c1:MapToolsLayer/>
            </c1:C1Maps.Layers>
        </c1:C1Maps>