Map view

The map view represents the main window in our application.

Map view

Map interaction

Move the map

As with many map applications, StickMaps allows you to move around on the map as you would expect:

  • Use the arrow keys (← ↑ ↓ →) to move the map around.
  • Of course, you can also use your mouse by left-click & drag.

Zoom the map

Zoom in and out works as you would expect.

  • Use the keys - and = to zoom in and out (lowercase - / +).
  • Or, use the mouse scroll wheel.

Rotate the map

StickMaps also supports rotating the map.

  • Use keys A and D to rotate the map. Reset it to default North-up using key S.

Adding your first line

Left-click and drag your line from the Navigator -> Imported data into the Map view.

Drag line

Find the approximate location of the entrance and let go of the mouse button. If you know the exact GPS location, you can just drop the line anywhere on the map and provide the GPS coordinates in the popup dialog.

Gps line dialog

Adding additional lines

Just like your first line, left-click and drag your line from the Navigator -> Imported data into the Map view. But now put your mouse cursor on top of the station that you want to connect your line to. If the depths are approximately the same,* the station will light up and you can safely drop your line.

Drag line

Your line will now be connected to the selected station.

Line dialog

Adding markers

StickMaps allows you to place markers anywhere on the map. You can use them to mark a point of interest, place a warning, or just leave a “note” on your map. Just right-click and choose Drop marker.

Drop marker dialog

Choose an icon, color, and title, then Save. Your marker will now be visible:

markers shown

Context menus

Our map view relies heavily on so-called “context menus”. If you hover any item (a station, a map, a marker, or just an empty area on the map) and right-click, a specialized menu will pop up next to your cursor offering you specific functionalities.

Hovering a station, line, or marker will allow you to:

  • Edit the item
  • Remove the item
  • Copy the longitude/latitude of the item

When hovering empty space, you can:

  • Drop a marker
  • Copy the longitude/latitude of the item
  • Go to the last copied longitude/latitude

Measure a distance.

Often you will want to know the distance towards a specific location. You can get this by Press and hold "M", while doing so, Left-Click on your map to create a path. Each click will represent a point in a line, which will have the measurement from the beginning of the line. We will add this functionality to a toolbar eventually, but till that time hold and press “m”.

Close loops and move markers

Loop close

Both are done using the same technique:

For stations:

  • Hover the station that you want to connect with the other (static) station.
  • Press Ctrl and hold.
  • Left-click and drag your cursor towards the other (static) station.
  • Once your cursor reaches a station, it will compare the altitudes, allowing you to connect the lines if they are within a reasonable distance of each other.
  • Once dropped, both stations are merged and the lines are looped.

For markers:

  • Hover the marker.
  • Press Ctrl and hold.
  • Left-click and drag your cursor towards the new location of the marker.