cap1
spacer
spacer Mobility Simulator
  cap4 spacer Back Back spacer Home Home spacer cap5  
spacer

Automn 2006-2009

spacer
cap6
spacer
spacer spacer
 

Map Editor

Map editor is a facilitator utility to enable users to design maps easier. Each model has a map editor which is accessible by clicking on “Show” button presented as a parameter in simulation parameters panel. Each map has some handles that can be dragged in the graphical part or be set in the parameter configuration part. Maps specific handles are described in the document of each model.

Map Editor

Map editor window contains five parts:

  • Toolbar: You can move the graphical view over the map using the “Move Page” button Move Pageby activating it and dragging on the map graphical view. You can move most of the handles presented on the map. Click on “Move”  button Moveto enable move state. If the map accepts variable number of handles, “Add” add  and “Remove” Remove  buttons will be enabled. Click on the map to create a new handle after activating the add button. Moreover, some maps are more complex. They may show additional controls in the toolbar. For example, they may let you select the internal map to which you wanted to add a handle.
  • Map supporter parameter configuration: Map supporter can be a “Map” or a “Model”. In the left part of the window, you can see the map supporter’s configuration panel, which lets you to set/see parameters’ value accurately. There are two buttons under the panel. “Update”  button Updateupdates the “map graphical view” using values in these panels. However, “Fill”  button Fillfills the parameter configuration panel and objects in the memory from graphical handles. You should click on the fill button before closing the window to save your changes.
  • Handle parameter configuration: Some map supporters may create handles that have additional parameters; for example, when the sequence of handles is important, they will have a sequence parameter. Click on the “Update” button Update2  after changing the value.
  • Map graphical view: This is a canvas drawing handles and the map preview. You can adjust map’s parameters by dragging its handles. Note that some handles cannot be moved, but their parameters can be adjusted using handle parameter configuration. You cannot move handle wherever you want because the map supporter validates every movement. There are some situations that you cannot move any handle and the status bar shows you an error. In these situations, you should solve the problem using the configuration panel. Read the model constraints to find out what the problem is.
  • Status bar: By default, the status bar shows the x and y of the current mouse position, but while you are dragging a handle, it shows the current position for the handle. If the map does not validate the new position of the dragging handle, it will alert you about that.

Error in Status Bar

 
spacer
bottom1 spacer bottom4
Masoud Moshref Javadi © 2007