Home
Categories
Dictionary
Download
Project Details
Changes Log
Who We Are
FAQ
License

Maps interactivity



Several interactions are allowed on map widgets:
  • Clicking on the background of a A661_MAPHORZ or A661_MAPVERT widget will trigger an event giving the world coordinates of the point which is under the cursor
  • Using the Mouse wheel on a A661_MAPHORZ widget will trigger a specific event
  • Selecting a MapItem will send selection event on the MapItem[1]
    The selection of a MapItem means is implementation dependant. The standard does not specify if simply hovering over the mapItem will trigger the selection, or if a click is necessary

Clicking on the background of a Map widget

When clicking on the background of a A661_MAPHORZ or A661_MAPVERT widget, the A661_MAPHORZ_SOURCE widgets under the MapHorz will send an A661_EVT_SELECTION_MAP event with the world coordinate of the poiçnt under the cursor in the reference of the MapHorzSource.
mapselection

Selecting a MapItem

When selecting a MapItem, the associated A661_MAPHORZ_ITEMLIST or A661_MAPVERT_ITEMLIST widget will send a A661_EVT_SELECTION event with the index of the selected MapItem.
mapitemselection
The selection of a MapItem means is implementation dependant. The standard does not specify if simply hovering over the mapItem will trigger the selection, or if a click is necessary. The configuration of the mapUI XMl file will specify if the selection in the server is considered when hovering on thze MapItem or on clicking on the MapItem.

Specifying MapItem events on a specific cursor event

By adding a CursorMapEventsExtension on the A661_MAPHORZ_ITEMLIST or A661_MAPVERT_ITEMLIST widget, it is possible to specify spcific kinds of cursor events on which a A661_EVT_CURSOR_EVENT when applying this cursor event on the MapItem (for example: left click or right click).
cursormapeventextension

Notes

  1. ^ The selection of a MapItem means is implementation dependant. The standard does not specify if simply hovering over the mapItem will trigger the selection, or if a click is necessary

See also


Categories: arinc661 | maps

Copyright 2016-2017 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v2 licence