wiki:Specification/MOSSMAP

Version 26 (modified by mloskot, 18 years ago) ( diff )

--

MOSSMAP

The MOSSMAP is the main end-user application for Windows Mobile OS, developed using libraries and components from the MOSS4G Framework.

User Interface Brainstorm

The application GUI overview, screen size 240x340 pixels (here is another scheme):

+------------+------------+
| MOSSMAP               X |   (1 navigation bar
+------------+------------+
|                         |
|                         |
|                         |   (2 map window 
|                         | 
|                         |
|                         |
|                         |
|                         |
|                         |
|                         |
+------------+------------+
| 1:1000 | lat/lon        |   (5 optional status bar (see below)
+------------+------------+
|[+][-][P][@][$][*][!][#] |   (3 main toolbar
+------------+------------+
| VIEW     <...>     MENU |   (4 soft keys/buttons
+------------+------------+

1) The navigation bar, also called tray, hosts the main navigation widget in Windows Mobile - START menu. If necessary, an application can request to hide it. Extra space on the screen can be used by map window or custom status bar (2-rows of information can be displayed).

2) The map window is responsible for

  • rendering map layers: vector and raster, projected to 2D plane
  • accept user's interaction with map through stylus taps and dragging

3) Toolbar is a single row widget hosting a number of buttons. Each button represent single command, for instance Zoom-in button, Feature Query button, etc. It's possible to host 8-9 buttons on standard 240 pixels width toolbar. The Toolbar is optional, but seems to be very common and useful to host most used commands.

4) The bar at the bottom of the screen hosts two Soft Keys (or Soft Buttons) and SIP button.

No image "softkeys_menu.jpeg" attached to Specification/MOSSMAP

Three soft buttons at the bottom of the page (source: What's New in Windows Mobile 5.0?

From What's New for Developers in Windows Mobile 5.0 article:

Soft keys are the application modifiable keys appearing at the bottom of the screen that are tied to the hardware keys
immediately below the screen.
Soft keys have existed for Smartphone since the original release and have been valuable user productivity tools.
On Pocket PC, soft keys can avoid the need for a stylus because they enable the user to interact
with the application by using only one hand.

In the scheme above, both soft keys provide access to more than one option. The left key drops VIEW menu and the right key opens main MENU. Both menus can include a number of options. Note, it is recommended to not to add too many positions to menus, to not to make them scrollable.

5) Status bar is optional and not very common in Pocket PC/Smartphone applications. Status bar displayed on top of the toolbar is single-row widget. Some applications draw their own status bar on top of the screen, as a replacement for navigation bar. This custom status bar can display information in 1 or 2 rows.

Soft Keys

The proposal includes two soft buttons: VIEW and MENU. The idea is to attach drop-down menus to both keys, similarly as used in Excel Mobile application.

This soft button provides access to base set of commands and options in MOSSMAP application, like features listed in Map Management, some elements from Layer Management and Routing, and others.

Here is list of proposed commands:

  • Map
    • New
    • Open
    • Add Layer
    • Properties
    • Publish to Server
  • Settings
  • Help

VIEW

The soft button VIEW provides access to all options related to what is currently visible in the application. Commands available in this menu can be used to control:

  • visibility of application elements and widgets
  • visibility of map data and status information, etc.

Here is list of proposed commands:

  • Show
    • Toolbar
    • Status bar
    • Scale bar
  • Zoom to extent
    • All layers
    • Active layer
    • Layer 1...N - here are listed all layers actually added to map
  • Toggle layer visibility
    • All layers (on/off)
    • Layer 1...N - here are listed all layers actually added to map
  • GPS
    • Current position (lat/lon/altitude)
    • Speed of Going
    • Course of Going

Toolbar

Basic properties of toolbar widget:

  • icon size 32x32 pixels
  • number of hosted icons (buttons) is 8-9
  • vertical separators possible
  • toolbar is optional

The main purpose of toolbar is to host: Map Navigation commands and a few most often used commands.

List of proposed commands (buttons):

  • Zoom-in
  • Zoom-out
  • Pan
  • Query feature
  • Distance measurement tool
  • Area measurement tool
  • Capture vertex from GPS

Note, as you can see below ESRI ArdPad uses quite different toolbars: two bars, placed on top of the screen, dockable. These toolbars come from Windows CE standard UI and are not commonly used on Pocket PC and Smartphone formats.

Zoom-in/out

There is an idea to replace Zoom-in/Zoom-out buttons with vertical slider placed near right edge of the screen, over map window.

+------------+------------+
| MOSSMAP               X |
+------------+------------+
|                         |
|                     (-) | - zoom-out direction
|                      |  |
|                      |  | 
|                     (*) | - bullet being dragged vertically with stylus
|                      |  |
|                      |  |
|                      |  |
|                     (+) | - zoom-in direction
|                         |
+------------+------------+
| 1:1000 | lat/lon        |
+------------+------------+
|[P][@][$][*][!][#] |
+------------+------------+
| VIEW     <...>     MENU |
+------------+------------+

Obviously, there is no such widget in the set of common controls on Windows Mobile, so it would need to be rendered manually from scratch.

Status bar

Standard version of status bar is a single row of ~24 px height which space can be divided into a few panes. The standard status bar is used in ESRI ArcPad and as it looks clearly, not much of information can be presented there. For instance, if latitude and longitude are displayed, not much space is left:

No image "arcpad_overview.gif" attached to Specification/MOSSMAP

Screenshot grabbed from the ArcPad Team Blog

Application Windows

Here is list of windows and dialogs used in the application:

  • Main window with hosted map window, status and navigation widgets (see the overview above)

Dialog boxes:

  • Add map layer
  • Map legend (configure map style)
  • Layer classification
  • Query feature (display layer details and attributes)
  • Add and edit new feature
  • Application settings

User's Interactions Brainstorm

Here is list of most important user's interactions with the MOSSMAP applications. Later, every action should be described in detailed steps.

  • How to create new map?
  • How to open existing map?
  • How to save current map as project stored locally?
  • How to export current map to MapServer mapfile.
  • How to publish map on remote server?
  • How to add new layer to current map?
    • How to add vector layer from locally stored file?
    • How to add vector layer from remote WFS source?
    • How to add raster layer from locally stored file?
    • How to add raster layer from remote WMS source?
  • How to add new feature to vector layer?
    • How to digitize geometry for newly added feature?
      • How to add/remove/move vertices of digitized geometry?
  • How to configure single symbol for a layer?
  • How to change properties for selected layer?
    • How to change style of a point/line/polygon layer?
    • How to set/change scale threshold of a layer?
  • How to generate continuous classification for a layer?
  • How to generate unique classification for a layer?
  • How to generate graduated classification for a layer?
  • How to zoom-in/zoom-out to all layers?
  • How to zoom-in/zoom-out to selected layer?
  • How to turn on/off visibility of all layers?
  • How to turn on/off visibility of selected layer?
  • How to use remote WPS service <X>?
  • How to find shortest path from A to B using WPS service?
  • How to show/hide toolbar?
  • How to show/hide status bar?
  • How to show/hide scale bar?

Chats and Discussions

  • Discussing John's proposal of GUI rendered using custom graphical widgets - irc/2007-05-19

Note: See TracWiki for help on using the wiki.