Version

Navigating Map Content Using Keyboard

Purpose

This topic provides information about navigating the map content in the XamGeographicMap™ control using inputs from a keyboard.

Required background

The following table lists the topics required as a prerequisite to understanding this topic.

Topic Purpose

This topic provides information about layout of map elements in the XamGeographicMap control.

This topic provides conceptual information about navigating map content in the XamGeographicMap control as well as all supported navigation features of the control.

In This Topic

This topic contains the following sections:

Map Keyboard Navigation

Overview

When the XamGeographicMap control has received focus, keyboard navigation is activated and the map content can be navigated using inputs from a keyboard.

The following table summarizes keyboard navigation features supported in the XamGeographicMap control.

The user can… Using… * Description*

Zoom in map content

Page Up key

Pressing the Page Up key on a keyboard, zooms in the map content to the center of the XamGeographicMap control by a scale factor of 0.8. This is equivalent to decreasing values of WindowScale property.

Zoom out map content

Page Down key

Pressing the Page Down key on a keyboard, zooms out the map content to the center of the XamGeographicMap control by a factor of 1.2 on scale of the map navigation window. This is equivalent to increasing values of WindowScale property.

Pan left (west) map content

Left Arrow key

Pressing the Left Arrow key on a keyboard, pans left the map content towards left edge (west direction) of the XamGeographicMap control. This is equivalent to decreasing value of the WindowPositionHorizontal property.

Pan right (east) map content

Right Arrow key

Pressing the Right Arrow key on a keyboard, pans right the map content towards right edge (east direction) of the XamGeographicMap control. This is equivalent to increasing value of the WindowPositionHorizontal property.

Pan up (north) map content

Up Arrow key

Pressing the Up Arrow key on a keyboard, pans up the map content towards top edge (north direction) of the XamGeographicMap control. This is equivalent to decreasing value of the WindowPositionVertical property.

Pan down (south) map content

Down Arrow key

Pressing the Down Arrow key on a keyboard, pans down the map content towards bottom edge (south direction) of the XamGeographicMap control. This is equivalent to increasing value of the WindowPositionVertical property.

Scale map content to fit viewable area

Home key

Pressing the Home key on a keyboard, fits the map content to the maximum viewable area of the XamGeographicMap control. This is equivalent to setting WindowRect property to a Rect of dimensions: 0, 0, 1, 1

Related Content

The following topics provide additional information related to this topic.

Topic Purpose

This topic provides information about layout of map elements in the XamGeographicMap control.

This topic provides conceptual information about navigating map content in the XamGeographicMap control as well as all supported navigation features of the control.

This topic provides information about navigating the map content in the XamGeographicMap control using inputs from a mouse.

This topic provides information about navigating the map content in the XamGeographicMap control using code.