
<section id='BaseOps_MapPane_id' webfilename='mappane'>
    <title>
        Working with the Map Pane
    </title>
    <para>
        The map pane, located in the upper-right corner of the BaseOps
        main window, displays a graphical representation of the object
        currently selected in the <link target='#BaseOps_ListPane_id'>list
        pane</link>. The map is not simply a static image. You can interact
        with it, zooming and panning to display regions of interest, determining
        the coordinates of locations, measuring the distance between points,
        and editing object properties.
    </para>
    <section id='BaseOps_MouseLocationDisplayOnStatusBar_id'>
        <title>
            Displaying Coordinates on the Status Bar
        </title>
        <para>
            To determine the geographic coordinates of a location on a map,
            point to that location with the mouse. The coordinates are displayed
            on the <link target='#WCF_ApplicationMainStatusBar_id'>status
            bar</link>, and are automatically updated as the mouse is moved.
        </para>
        <exhibit>
            <img src='BaseOps_StatusBar_MouseLocation_ScreenCap.png'/>
        </exhibit>
        <para>
            You can change the coordinate system used to display the location:
            see <iref target='BaseOps_CaseCoordinateSystem_id'/>.
        </para>
    </section>
    <section>
        <title>
            Mouse Tools
        </title>
        <para>
            BaseOps provides a number of tools for working with maps. For
            example, the <link target='#BaseOps_MouseTool_Measurement_id'>Measurement
            tool</link> allows you to measure the distance between two points
            on a map.
        </para>
        <para>
            To use a tool, you must first <termtext>activate</termtext> it
            by pressing its button on the toolbar. When the mouse cursor is
            over a map, the cursor changes shape to indicate which tool is
            active.
        </para>
        <para>
            The tools are described in detail in this chapter.
        </para>
    </section>
    <section id='BaseOps_MouseTool_SelectAndEdit_id'>
        <title>
            The Select and Edit Mouse Tool
        </title>
        <para>
            Use the Select and Edit tool to edit properties of the selected
            object.
        </para>
        <exhibit>
            <img src='BaseOps_EditTool_DragLabel_Figure.png'
            standard_colors='true'/>
        </exhibit>
        <para>
            Activate the tool by pressing its button <img
            src='intres:WCF_ArrowMouseCursorToolbarButtonBitmap'/> on the
            toolbar. The actions you can perform with the tool depend on the
            selected object type.
        </para>
        <para>
            If a <link target='#BaseOps_FlightTrackChunk_id'>flight track</link>
            is selected, you can:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    drag the end of a curved segment to change the curve angle.
                </para>
            </listitem>
            <listitem>
                <para>
                    drag the middle of a curved segment to change the curve radius.
                </para>
            </listitem>
            <listitem>
                <para>
                    drag the end of a straight segment to change its length.
                </para>
            </listitem>
            <listitem>
                <para>
                    drag the end of a straight segment preceded by a curved segment
                    to change both the straight segment's length and the curve's angle.
                    Hold down the <keytext>Shift</keytext> key while performing the
                    drag to lock the angle and change only the length. Hold down the
                    <keytext>Ctrl</keytext> key while performing the drag to lock
                    the length and change only the angle.
                </para>
            </listitem>
            <listitem>
                <para>
                    drag the segments table to another corner of the map.
                </para>
            </listitem>
            <listitem>
                <para>
                    double-click on either a segment or the segments table to edit
                    its properties.
                </para>
            </listitem>
            <listitem>
                <para>
                    delete either a segment or the segments table by selecting it
                    on the map and then pressing <keytext>Ctrl + Delete</keytext>.
                </para>
            </listitem>
        </unorderedlist>
        <para>
            If a <link target='#BaseOps_FlightProfileChunk_id'>flight profile</link>
            is selected, you can:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    drag a profile point to another location on the flight track.
                </para>
            </listitem>
            <listitem>
                <para>
                    drag a point label to another position on the map.
                </para>
            </listitem>
            <listitem>
                <para>
                    drag the segments table to another corner of the map.
                </para>
            </listitem>
            <listitem>
                <para>
                    double-click on a profile point, a point label, or the segments
                    table to edit its properties.
                </para>
            </listitem>
            <listitem>
                <para>
                    delete a profile point, a point label, or the segments table by
                    selecting it on the map and then pressing <keytext>Ctrl + Delete</keytext>.
                </para>
            </listitem>
        </unorderedlist>
        <para>
            If a <link target='#BaseOps_RunwayChunk_id'>runway</link> is selected,
            you can:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    drag the ends of the runway to new locations.
                </para>
            </listitem>
            <listitem>
                <para>
                    drag the runway center to move the entire runway without changing
                    its length or heading.
                </para>
            </listitem>
        </unorderedlist>
        <para>
            If a <link target='#BaseOps_MilitaryOperatingAreaChunk_id'>military
            operations area</link> is selected, you can drag the area's vertex
            points to new locations on the map.
        </para>
        <para>
            If a <link target='#BaseOps_MilitaryTrainingRouteChunk_id'>military
            training route</link> is selected, you can:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    drag a segment point to another location on the map.
                </para>
            </listitem>
            <listitem>
                <para>
                    drag a point label to another position on the map.
                </para>
            </listitem>
            <listitem>
                <para>
                    double-click on a segment point or a point label to edit its properties.
                </para>
            </listitem>
            <listitem>
                <para>
                    delete a segment point or a point label by selecting it on the
                    map and then pressing <keytext>Ctrl + Delete</keytext>.
                </para>
            </listitem>
        </unorderedlist>
        <para>
            If a manually-entered <link
            target='#BaseOps_ElevationAndImpedanceChunks_id'>elevation</link>
            or <link target='#BaseOps_ElevationAndImpedanceChunks_id'>ground
            impedance</link> data source is selected, you can:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    drag a data point to a new location.
                </para>
            </listitem>
            <listitem>
                <para>
                    double-click on a data point to edit its properties.
                </para>
            </listitem>
            <listitem>
                <para>
                    delete a data point by selecting it on the map and then pressing
                    <keytext>Ctrl + Delete</keytext>.
                </para>
            </listitem>
        </unorderedlist>
        <para>
            If the <link target='#BaseOps_GridChunk_id'>grid</link> is selected,
            you can drag the edges of the primary grid and any subgrids to
            resize them.
        </para>
        <para>
            For most other types of object (<link
            target='#BaseOps_PointObjectChunks_id'>navigational aids, points
            of interest, etc.</link>), you can drag the object to another
            location on the map. To move an <link
            target='#BaseOps_AvoidanceAreaChunk_id'>avoidance area</link>,
            grab the center of the area.
        </para>
    </section>
    <note type='caution'>
        <para>
            When BaseOps draws a map, it attempts to position all tables and
            labels so that they appear pleasing to the eye. The method that
            it uses is not perfect, so BaseOps gives you the ability to manually
            position these items. However, it is recommended that you use
            restraint, as manually positioning an item prevents BaseOps from
            adapting the map in response to future changes, such as adding
            additional profile points or printing the map on paper of a new
            size or orientation.
        </para>
    </note>
    <section id='BaseOps_MouseTool_Add_id'>
        <title>
            The Add Mouse Tool
        </title>
        <para>
            Use the Add mouse tool to specify locations on the map that should
            be added to a BaseOps case.
        </para>
        <para>
            Activate the tool by pressing its button <img
            src='intres:BaseOps_AddTool_ToolbarButton'/> on the toolbar. The
            actions you can perform with the tool depend on the selected object
            type.
        </para>
        <para>
            Some types of objects (for example, static pads) are defined by
            a single location. To add a new instance of one of these point-type
            objects, select the type of object using the <link
            target='#BaseOps_ListPane_id'>object type selector dropdown list</link>,
            activate the Add mouse tool, then click on the map. See <iref
            target='BaseOps_PointObjectChunks_id'/> for a list of the point
            object types. You can also add <link
            target='#BaseOps_AvoidanceAreaChunk_id'>avoidance areas</link>;
            click on the location of the avoidance area's center.
        </para>
        <para>
            Some types of objects are defined by a list of locations. For
            example, a <link
            target='#BaseOps_MilitaryOperatingAreaChunk_id'>military operations
            area</link> is a polygonal area defined by vertex points. Use
            the Add mouse tool to add new points to such objects. You can
            add points to the following types of objects:
        </para>
        <unorderedlist>
            <listitem>
                <para>
                    <link target='#BaseOps_FlightProfileChunk_id'>Flight Profiles</link>
                    (click on the flight track to add a new profile point)
                </para>
            </listitem>
            <listitem>
                <para>
                    <link target='#BaseOps_MilitaryOperatingAreaChunk_id'>Military
                    Operations Areas</link> (click on the map to add a new vertex
                    point)
                </para>
            </listitem>
            <listitem>
                <para>
                    <link target='#BaseOps_MilitaryTrainingRouteChunk_id'>Military
                    Training Routes</link> (click on the map to add a new segment
                    point)
                </para>
            </listitem>
            <listitem>
                <para>
                    Manually-entered <link
                    target='#BaseOps_ElevationAndImpedanceChunks_id'>Elevation</link>
                    and <link target='#BaseOps_ElevationAndImpedanceChunks_id'>Ground
                    Impedance</link> data sources
                </para>
            </listitem>
        </unorderedlist>
        <para>
            If the <link target='#BaseOps_GridChunk_id'>grid</link> is selected,
            you can add a new subgrid by dragging a rectangular area to define
            the geographic region that the subgrid will cover. Note that this applies only
            if the current BaseOps case uses the <link
            target='#BaseOps_NoiseModelsUsed_id'>AAM noise model</link>.
        </para>
        <note type='tip'>
            <para>
                You may sometimes find yourself switching back and forth between
                using the <link target='#BaseOps_MouseTool_SelectAndEdit_id'>Select
                and Edit</link> and the Add mouse tools. As a convenience in such
                situations, hold down the <keytext>Ctrl</keytext> key to make
                the Add mouse tool temporarily act like the Select and Edit mouse
                tool, and vice versa.
            </para>
        </note>
    </section>
    <section>
        <title>
            Zooming and Panning
        </title>
        <para>
            <termtext>Zooming</termtext> refers to increasing or decreasing
            the magnification level at which a map is displayed. <termtext>Panning</termtext>
            refers to moving a map horizontally or vertically, so that previously
            hidden portions of the map become visible.
        </para>
        <section id='BaseOps_MouseTool_Zoom_id'>
            <title>
                The Zoom Mouse Tool
            </title>
            <para>
                Activate the Zoom mouse tool by pressing its button <img
                src='intres:WCF_MagnifyingGlassToolbarButtonBitmap'/> on the toolbar.
                When the Zoom tool is active, you can:
            </para>
            <unorderedlist>
                <listitem>
                    <para>
                        zoom in by clicking on a map with the left mouse button.
                    </para>
                </listitem>
                <listitem>
                    <para>
                        zoom out by clicking on a map with the right mouse button.
                    </para>
                </listitem>
            </unorderedlist>
            <para>
                When the Zoom tool is active, you can drag a rectangular area
                using the left mouse button. The plot is zoomed and panned so
                that this area fills the plot window.
            </para>
        </section>
        <section id='BaseOps_MouseTool_Pan_id'>
            <title>
                The Pan Mouse Tool
            </title>
            <para>
                Activate the Pan mouse tool by pressing its button <img
                src='intres:WCPICxWCF_PanTool_ToolbarButton'/> on the toolbar.
                When the Pan tool is active, you can drag with the left mouse
                button to pan the map.
            </para>
        </section>
        <section>
            <title>
                Using the Mouse Wheel
            </title>
            <para>
                If your mouse has a wheel button, you can use it to zoom and pan
                the map.
            </para>
            <para>
                Roll the wheel forward to zoom in. Roll the wheel backward to
                zoom out. Hold down the <keytext>Ctrl</keytext> key while rolling
                the wheel to zoom in finer increments.
            </para>
            <para>
                Pan by pressing and holding the wheel button. A small marker <img
                src='intres:WCF_ScrollOriginBitmap'/> appears at the point where
                you press the button. While holding the button down, move the
                mouse cursor away from the marker. The map pans in the direction
                that you move the mouse. The farther the mouse is from the marker,
                the faster the map pans. Release the mouse button to stop panning.
            </para>
            <para>
                Alternatively, click and release the wheel button. BaseOps enters
                panning mode. Move the mouse to pan the map. Exit panning mode
                by clicking the wheel button a second time.
            </para>
            <note type='tip'>
                <para>
                    You can zoom and pan using the mouse wheel regardless of which
                    mouse tool is active. This provides you with a convenient way
                    to zoom and pan while using the other mouse tools.
                </para>
            </note>
        </section>
        <section>
            <title>
                Keyboard Shortcuts
            </title>
            <para>
                The following keyboard shortcuts allow you to pan and zoom a map
                regardless of which mouse tool is active. If the map does not
                respond to keyboard commands, give it the keyboard focus by clicking
                on it with the mouse, pressing <keytext>Alt + M</keytext>, or
                repeatedly pressing <keytext>Tab</keytext>.
            </para>
            <exhibit>
                <table>
                    <tableheader>
                        <tablecolumnheader horzjust='center'>
                            Key
                        </tablecolumnheader>
                        <tablecolumnheader horzjust='left'>
                            Action
                        </tablecolumnheader>
                    </tableheader>
                    <tablerow>
                        <tablecell>
                            &uparrowkey;
                        </tablecell>
                        <tablecell>
                            Pan up
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            <keytext>Ctrl +</keytext> &uparrowkey;
                        </tablecell>
                        <tablecell>
                            Pan up faster
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            &downarrowkey;
                        </tablecell>
                        <tablecell>
                            Pan down
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            <keytext>Ctrl +</keytext> &downarrowkey;
                        </tablecell>
                        <tablecell>
                            Pan down faster
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            &leftarrowkey;
                        </tablecell>
                        <tablecell>
                            Pan left
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            <keytext>Ctrl +</keytext> &leftarrowkey;
                        </tablecell>
                        <tablecell>
                            Pan left faster
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            &rightarrowkey;
                        </tablecell>
                        <tablecell>
                            Pan right
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            <keytext>Ctrl +</keytext> &rightarrowkey;
                        </tablecell>
                        <tablecell>
                            Pan right faster
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            <keytext>+</keytext>
                        </tablecell>
                        <tablecell>
                            Zoom in
                        </tablecell>
                    </tablerow>
                    <tablerow>
                        <tablecell>
                            <keytext>-</keytext>
                        </tablecell>
                        <tablecell>
                            Zoom out
                        </tablecell>
                    </tablerow>
                </table>
            </exhibit>
        </section>
    </section>
    <section id='WCGISxWCF_HomeView_id'>
        <title>
            The Home View
        </title>
        <para>
            When an object's map is first displayed, the area of the map that
            is initially visible is known as the <termtext> home view</termtext>.
            By default, the home view is set so that the map shows the "interesting"
            features of the object.
        </para>
        <para>
            The home view is important when printing a map: the map will be
            zoomed and panned so that the home view fills the printable area
            of the paper.
        </para>
        <para>
            If, after scrolling and zooming, you wish to return to the home
            view, press the Home View button <img
            src='intres:WCPICxWCF_HomeView_ToolbarButton'/> on the toolbar.
        </para>
        <para>
            You can manually set the home view of an object's map, overriding
            the default. To do so, press the Set Home View button <img
            src='intres:BaseOps_SetHomeView_ToolbarButton'/> on the toolbar.
            The selected object's home view will be set to the portion of
            the map currently visible on the screen.
        </para>
        <para>
            If you want multiple objects to have the same home view, use the
            Home View Tool. See <iref target='BaseOps_HomeViewTool_id'/>.
        </para>
        <para>
            If you have manually set an object's home view, and wish to revert
            to having the home view automatically calculated, press the Automatically
            Calculate Home View button <img
            src='intres:BaseOps_ResetHomeView_ToolbarButton'/> on the toolbar.
        </para>
        <note type='tip'>
            <para>
                If you are setting a map's home view prior to printing the map,
                you should adjust the shape of the map pane so that it is approximately
                the same shape as the paper upon which you will print the map.
                See <iref target='BaseOps_WorkingWithPanes_id'/> for information
                on changing the shape of the map pane.
            </para>
        </note>
    </section>
    <section id='BaseOps_MouseTool_Measurement_id'>
        <title>
            The Measurement Mouse Tool
        </title>
        <para>
            Use the Measurement tool to measure the distance and heading between
            two points on a map. Activate the tool by pressing its button
            <img src='intres:BaseOps_MeasureTool_ToolbarButton'/> on the toolbar.
            To measure the distance between two points, press and hold the
            left mouse button over the first point, then move the mouse to
            the second point. The <link
            target='#WCF_ApplicationMainStatusBar_id'> status bar</link> displays
            the coordinates of the two points, the distance between them,
            and the directional heading (both true and magnetic) from the
            first point to the second.
        </para>
        <exhibit>
            <img src='BaseOps_StatusBar_MeasureTool_ScreenCap.png'/>
        </exhibit>
        <para>
            You can change the coordinate system used to display the location
            of the two points: see <iref
            target='BaseOps_CaseCoordinateSystem_id'/>.
        </para>
        <para>
            You can change the units used to display the distance between
            the two points: see <iref target='BaseOps_CaseUnits_id'/>.
        </para>
        <para>
            The heading is the direction of the second point as seen from
            the first point, measured in degrees east of (either true or magnetic)
            north.
        </para>
    </section>
</section>
