Table of Contents

Object selection

This page does not reflect features in version 4.2 of the OFM product.

Objects are selected by clicking or dragging on the map.
When objects were selected, OFM will load the first object's attribute rows from the server.
Several events are fired during this procedure :

Usually you listen for the attributeRowChanged event to occur.

General Functions

Event Listener Functions

Events :

Multiple Selected Objects

When multiple objects are selected, you can also navigate between the selected objects or navigate between the selected object's attribute rows.

These functions are available :

Whenever the active selected object changes, its attribute rows are retrieved. The centroid will indicate the active selected object and will reposition of you activate a new object.

Accessing Attributes

Attributes can be retrieved using :

Don't forget you need to wait for the proper events to come in before you can access attributes!

Background Information

OrbitGIS Relation

Object selection in OFM is a reflection of object selection in OrbitGIS. In OrbitGIS a selection usually results in a group of selected objects, of which one is the active selected object. This object can be inspected in more detail using the Object Inspector tool.

OFM UI Configuration

When a selection layer is defined, the following toolbar buttons will be visible :

If no layer is defined, these buttons may not appear.

Example Scenario

When the user makes a selection… :

1)
this button may still stay visible because it can also be used to view map tooltips