Map Window

Introducing the Map Window

The Map Window displays graphical items in 2D. The Map Window is the normal display window for all graphical items.

The View [Document Views] buttons create new Map Windows as follows:

Map [View-Document Views] creates a new Map Window directly. From extents [View-Document Views] allows you to draw a box over an area of a map in the Map Window, on completion a new Map Window will be displayed showing the extents of the box:

When two or more Map Windows are open the windows can be tiled horizontally or vertically from the Map tab local menu:

New Horizontal Tab Group:

New Vertical Tab Group:

Pan and zoom methods

Cadcorp SIS has many different ways to pan and zoom the Map Window. There are several commands, e.g. In [Home-Zoom]Out [Home-Zoom]Drag [Home-Pan]Roamer Mode [Home-Zoom], that allow you to use the mouse to change the view. These commands cannot be run at the same time as other commands which use the mouse, e.g.LineString [Create-Simple].

If you want to change the view while using another command, then you can use one of the following methods:

Using the window's scroll bars

Each map window has slider bars for panning the view horizontally (East/West if the map has not been rotated), and vertically (North/South if the map has not been rotated).

Using the cursor keys

Pressing the cursor keys shifts the view in the direction of the arrow. If you have a full numeric pad the PgUp, PgDn, Home and End keys can be used to pan north-east, south-east, north-west and south-west (make sure you are operating with NumLock off):

The default scrolling step in all directions is 8 pixels. You can change this by holding down the Shift and/or Ctrl keys in combination with the scrolling keys as follows:

Shift

1 pixel

Ctrl

64 pixels

Shift + Ctrl

half window height and/or width

* and + Keys

Use the multiplication key (*) on the numeric pad to zoom out, and the plus key (+) to zoom in, doubling or halving the area of map displayed. These functions work only on the numeric pad. The * and + keys on the main area of the keyboard do not work in this way.

Panning and zooming in multiple windows

When working with multiple windows, you may zoom or pan in each single window independently, but you may have to select the window you require before carrying out the operation.

In each of the windows except the current window, an outline is drawn to show the extents of the current window (as long as the current window’s extents lie within that window):

The outline will normally be a rectangle (as shown above), but it could be a distorted quadrilateral if the view Coordinate Reference Systems are different, or a cone if the current window is 3D.

Using one window as an aid to panning/zooming in another window

You can use one window as a reference view for another when panning or zooming.

For example:

If Window 1 displays a large part of a residential area at small scale, while Window 2 is zoomed in to look at just a few of the houses. You now want to change the view in Window 2 to look at a few houses in a different part of the same residential area. Use Window 1 as a reference view in which to select the new area to be viewed in Window 2:

  1. Click anywhere in Window 2 to make it the current window (the pan and zoom functions operate on the current window).

  2. Choose Snap [Home-Pan].

  3. In Window 1 click on the house you wish to pan to be displayed in Window 2.

  4. Click in the centre of Window 2 to place the house at the centre of the view. This technique can also be used with other Zoom commands, where you have different SWD files on screen, and use one as a reference view for the other.

Recentre [Home-Pan] allows you to specify the centre of one map window by clicking in another map window.

Zoom commands

The Zoom commands, accessed from the Home tab, are transparent commands. This means you can use any transparent command while you are in the middle of another command, without the need to cancel or complete the command.

To select this feature, choose the ‘Transparent’ zooming commands option in the User Interface and Commands area of the Options dialog, seeSystem Options.

For example, suppose you want to measure the distance between two points that are far apart on the map. You could zoom out so that you can see both points on the screen at the same time, but then you might find it difficult to select them accurately if the display scale is small. Using transparent commands, you could follow this procedure:

  1. Choose Divide Distance [CAD-Divide].

  2. Choose In [Home-Zoom]

  3. Zoom in on the first point.

  4. Select the first point.

  5. Zoom and/or pan until the second point is easy to select.

  6. Select the second point, completing Divide Distance [CAD-Divide].

Similarly, you can use the transparent Zoom commands while you are in the middle of constructing graphics, such asLineStringitems.

You can use Roamer Mode [Home-Zoom] another transparent command, while you are in the middle of a measure or construction command. The Roamer gives you a magnified view of the graphics immediately beneath the pointer. See the Home tab Zoom commands.

Zoom to selection

The Map Window and corresponding Table Window are dynamically linked. Therefore by displaying both windows simultaneously you can highlight a row or rows from the table window, then use Selection [Home-Zoom]to zoom the map window to the extent of the selected item or items.

Similarly if you select an item in the map window, the corresponding row in the table window will become highlighted (you may need to use Scroll Dominant [Table-Table] to see it). Additionally, if the Flicker Selection tickbox is checked in the User Interface and Commands area of the Options dialog (shown above) the selected item flickers on the screen until deselected.

Keyhole zooming

Keyhole zooming is a useful technique for viewing an area of an overlay that lies below another overlay. For example, if you have a vector map of a region and a raster bitmap of the same region lying on top of it, you can use keyhole zooming to make a temporary hole in the raster bitmap to see the vectors below it, ‘through the keyhole’.

The following diagram shows how the lower overlay, which is called the keyhole overlay, can be seen through the hole in the upper overlay, even though the rest of the lower overlay is hidden by the opaque bitmap above it.

To use this technique, first choose Set Keyhole Overlay [Home-Zoom] to set the keyhole overlay. The Keyhole Overlay dialog lets you specify which overlay is to be viewed through the keyhole.

Once the keyhole overlay has been set, choose  Keyhole [Home-Zoom] to view the result.

The shape of the keyhole may be changed in the User Interface and Commands area of the Options dialog, see System Options.

The keyhole Shape choices are:

Redraw

There may be times when the screen image appears with parts of the graphics missing. This can happen when graphics have been moved or deleted, or after using the cursor keys to pan across the map base.

Text and point items are not always redrawn immediately, and can appear incomplete. This is because they have only one reference point for locating them on screen, and in some circumstances, if that point is on screen already, SIScannot know that the rest of the text or point item needs redrawing.

Use the Redraw [Home-Map] (F5) to refresh the current window, or  Redraw All Windows [View-Window] to refresh all windows.

During a long redraw you can halt the operation by clicking on the Cancel button which appears on the status bar at the bottom of the screen, or by pressing Ctrl + Break.

There are some preferences which give you more control over the redrawing of map windows. One preference, available in the Drawing and Printing tab of the Options dialog is Full redraw after pan, this forces SIS to redraw the Map Window after a pan operation. Another preference, Redraw after each Overlay, forces SIS to redraw the Map Window after each overlay has been loaded:

Rotating Views

  1. If you have several windows open, click in the window you wish to rotate.

  2. Choose Rotate View [View-Map Views].

  3. Either:

If you want to return a rotated view to its original rotation, accept the angle you are prompted with in the Angle dialog.

Making point text remain horizontal in rotated windows

Point text with the Horizontal property set to True will always remain horizontal, even when the view is rotated.

Note this feature only works with point text.

Saving and recalling views

Saving a view

You may store any view which is currently on screen, giving it a name by which to recall it later. Views are named objects, and newly-created ones are stored in the current library. See What is a Named Object Library?

  1. Zoom and/or pan until the view you have on screen is the view you want to store.

  2. Make sure the library where you want to place the view is the current library.

  3. Select Store [View-Map Views]. In the Save View As dialog, type in a folder name if you want to create a new folder (you will need to do this if there are no other views in the enabled libraries), or select an existing folder name if appropriate. All view folders in all enabled libraries are listed.

  4. Enter a name for the view.



  5. The view is then stored in the current library.

 

Note: A view’s local menu in the Libraries Control Bar allows you to delete or rename the view, copy it to the clipboard (for pasting into other libraries), or see its properties (its projection and scale).

Recalling a stored view

Once a view has been stored it can be recalled using the Recall [View-Map Views]. A zoom and pan are automatically carried out so that the stored view fills the current window.


Top of page

Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).