You can make some interactors work together
at the same time.
The following example shows how to make a
pan interactor, a select interactor, and a highlight interactor
work together:
<jvf:panInteractor id="panInteractor" /> <jvdf:selectInteractor id="selectInteractor" /> <jvf:highlightInteractor id="highlight" color="yellow"/> <jv:interactorGroup id="selectHighlight" interactors="selectInteractor panInteractor highlight"/> <jvmf:mapView id="mapID" interactorId="selectHighlight" hitmapLayers="Symbols" ... />
Note
You cannot combine certain interactors in
this way, because some interactors expect and consume the same
event. You can try to change the order of the interactors in the
group in order to avoid conflicts. However, this technique has its
limitations. You might arrive at a situation where you cannot
place some sets of interactors in the same group because of
conflicts.
For more detail, see <installdir> /jviews-maps810/samples/jsf-maps-tiled/index.html.