Version

Navigating Map Content Using a Mouse

Purpose

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

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 UltraGeographicMap control.

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

In This Topic

This topic contains the following sections:

Map Mouse Navigation

Overview

In the UltraGeographicMap control, input from a mouse can be used to navigate the map content.

The following table summarizes properties that affect mouse navigation in the UltraGeographicMap control.

Property Type Description Default Value

Specifies whether mouse dragging within the map plot area will zoom or pan the map content. The valid values are:

  • Auto

  • DragZoom

  • DragPan

  • None

Auto

Specifies what keyboard modifier enables zooming of the map content on mouse dragging. The valid values are:

  • Control

  • Shift

  • Alt

  • None

Control (key)

Specifies what keyboard modifier enables panning of the map content on mouse dragging. The valid values are:

  • Control

  • Shift

  • Alt

  • None

Shift (key)

The following table summarizes mouse navigation features supported in the UltraGeographicMap control with the assumption that default values for above properties have not been changed.

The user can… Using… Description

Zoom in map content

Mouse Wheel Up

Scrolling up the mouse wheel, zooms in the map content toward location of the mouse cursor over the UltraGeographicMap control. This is equivalent to decreasing values of WindowScale property and adjusting WindowPositionHorizontal and WindowPositionVertical properties.

Zoom out map content

Mouse Wheel Down

Scrolling down the mouse wheel, zooms out the map content away from location of the mouse cursor over the UltraGeographicMap control. This is equivalent to increasing values of WindowScale property and adjusting WindowPositionHorizontal and WindowPositionVertical properties.

Zoom to map area

Control key + Mouse Drag

Pressing the Control key while mouse dragging, creates a map area rectangle that indicates a new position and size of navigation window for the map content when mouse button is released. This is equivalent to setting WindowRect property to a rectangle of desired dimensions.

Pan left (west) map content

Mouse Down + Mouse Drag right

Dragging the mouse right, pans the map content towards left edge (west direction) of the UltraGeographicMap control. This is equivalent to decreasing value of the WindowPositionHorizontal property.

Pan right (east) map content

Mouse Down + Mouse Drag left

Dragging the mouse left, pans the map content towards right edge (east direction) of the UltraGeographicMap control. This is equivalent to increasing value of the WindowPositionHorizontal property.

Pan top (north) map content

Mouse Down + Mouse Drag down

Dragging the mouse down, pans the map content towards top edge (north direction) of the UltraGeographicMap control. This is equivalent to decreasing value of the WindowPositionVertical property.

Pan down (south) map content

Mouse Down + Mouse Drag up

Dragging the mouse up, pans the map content towards bottom edge (south direction) of the UltraGeographicMap control. This is equivalent to increasing value of the WindowPositionVertical property.

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 UltraGeographicMap control.

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

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

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