public interface DeepMapItemQuery
Modifier and Type | Method and Description |
---|---|
MapItem |
deepFindClosestItem(GeoPoint location,
double threshold,
java.util.Map<java.lang.String,java.lang.String> metadata)
Finds the closest MapItem to the specified point, that falls within the specified threshold.
|
MapItem |
deepFindItem(java.util.Map<java.lang.String,java.lang.String> metadata) |
java.util.Collection<MapItem> |
deepFindItems(GeoBounds bounds,
java.util.Map<java.lang.String,java.lang.String> metadata)
Find map items within given boundaries
|
java.util.Collection<MapItem> |
deepFindItems(GeoPoint location,
double radius,
java.util.Map<java.lang.String,java.lang.String> metadata)
Find map items within a given area
|
java.util.List<MapItem> |
deepFindItems(java.util.Map<java.lang.String,java.lang.String> metadata) |
default MapItem |
deepHitTest(int xpos,
int ypos,
GeoPoint point,
MapView view)
Deprecated.
|
default java.util.SortedSet<MapItem> |
deepHitTestItems(int xpos,
int ypos,
GeoPoint point,
MapView view)
Deprecated.
|
MapItem deepFindItem(java.util.Map<java.lang.String,java.lang.String> metadata)
java.util.List<MapItem> deepFindItems(java.util.Map<java.lang.String,java.lang.String> metadata)
MapItem deepFindClosestItem(GeoPoint location, double threshold, java.util.Map<java.lang.String,java.lang.String> metadata)
location
- The locationthreshold
- The search threshold, in meters. Only items that are within this distance
from the point are considered. If no threshold is desired, the value
0.0d
should be specified.metadata
- Extra query metadatajava.util.Collection<MapItem> deepFindItems(GeoPoint location, double radius, java.util.Map<java.lang.String,java.lang.String> metadata)
location
- Geodetic locationradius
- Radius in metersmetadata
- Extra query metadatajava.util.Collection<MapItem> deepFindItems(GeoBounds bounds, java.util.Map<java.lang.String,java.lang.String> metadata)
bounds
- Geodetic boundariesmetadata
- Extra query metadata@Deprecated default MapItem deepHitTest(int xpos, int ypos, GeoPoint point, MapView view)
DeepHitTestQuery.deepHitTest(MapView, HitTestQueryParameters)
xpos
- X-positionypos
- Y-positionpoint
- Ppoint on the map that was touchedview
- Map view@Deprecated default java.util.SortedSet<MapItem> deepHitTestItems(int xpos, int ypos, GeoPoint point, MapView view)
DeepHitTestQuery.deepHitTest(MapView, HitTestQueryParameters)
xpos
- X-positionypos
- Y-positionpoint
- Ppoint on the map that was touchedview
- Map view