public interface DeepHitTestControlQuery extends DeepHitTestQuery
DeepHitTestQuery that may utilize a list of
HitTestControl objects which were retrieved earlier in the stack| Modifier and Type | Method and Description |
|---|---|
default java.util.SortedSet<MapItem> |
deepHitTest(MapView mapView,
HitTestQueryParameters params)
Perform a hit-test given a set of query parameters
NOTE: This is called on the GL thread
|
java.util.SortedSet<MapItem> |
deepHitTest(MapView mapView,
HitTestQueryParameters params,
java.util.Map<Layer2,java.util.Collection<HitTestControl>> controls)
Perform a hit test with access to hit test controls
NOTE: This is called on the GL thread with a lock on the map controls
Do NOT call
MapRenderer3#visitControl(Layer2, Visitor, Class)
or any related method here or else the app will deadlock. |
default java.util.SortedSet<MapItem> deepHitTest(MapView mapView, HitTestQueryParameters params)
DeepHitTestQuerydeepHitTest in interface DeepHitTestQuerymapView - Map view instanceparams - Hit-test query parameters (location of hit, bounds, etc.)java.util.SortedSet<MapItem> deepHitTest(MapView mapView, HitTestQueryParameters params, java.util.Map<Layer2,java.util.Collection<HitTestControl>> controls)
MapRenderer3#visitControl(Layer2, Visitor, Class)
or any related method here or else the app will deadlock.
This is why the controls are provided upfront.mapView - Map viewparams - Hit test parameterscontrols - Hit test controls mapped by layer