query Pois
Queries the map for pois matching the filter.
Since
1.8
private void queryPoisExample() {
VMEPoiFilter lFilter = new VMEPoiFilter("404");
lFilter.setRestrictToTargetLayer(false);
lFilter.setRadius((double) 50);
lFilter.setRestrictToPoiIDs(Arrays.asList("411", "413", "206"));
mMapController.queryPois(lFilter, this);
}
@Override void poiFilterDidFinish(VMEPoiFilter filter, List<VMERouteResult> results){
for (VMERouteResult lResult : results) {
Log.i("INFO", lResult.getLength() + "m from " + lResult.getDestinations().get(0));
}
}
Content copied to clipboard
Parameters
filter
The poi filter to be applied to the map.
callback
The callback object to be notified of the results
Notes
Applies to:
static pois
dynamic pois