This is documentation of a bèta release.
For documentation on the current version, please check Knowledge Base.
For documentation on the current version, please check Knowledge Base.
Example: Pick Position using a MapObject
When the user needs to provide a Position for (a) Adding a new view or (b) Moving an existing view, it fires the onPickPosition signal to inform you of this. The onPickPositionCanceled signal is fired when a position is no longer required (the user may have chosen a position inside of the Viewer).
You can react to this on two ways:
- Call
setPickPositionand provide a spatial position. - Call
setPickPositionMapObjectand provide a footprint object.
This example is configured to fetch some footprint objects on startup, and then immediately call setPickPositionMapObject with one of the footprint objects as the argument.
Try triggering the “Add View” or “Move View” actions.
Last modified:: 2024/11/08 11:02