OsmAnd
|
Public Member Functions | |
AmenityIndexRepositoryBinary (BinaryMapIndexReader index) | |
void | close () |
boolean | checkContains (double latitude, double longitude) |
boolean | checkContains (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude) |
Map< AmenityType, List< String > > | searchAmenityCategoriesByName (String query, Map< AmenityType, List< String >> map) |
List< Amenity > | searchAmenitiesByName (int x, int y, String query, ResultMatcher< Amenity > resulMatcher) |
List< Amenity > | searchAmenities (int stop, int sleft, int sbottom, int sright, int zoom, final PoiFilter filter, final List< Amenity > amenities, ResultMatcher< Amenity > matcher) |
synchronized boolean | checkCachedAmenities (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, String filterId, List< Amenity > toFill, boolean fillFound) |
void | clearCache () |
void | evaluateCachedAmenities (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, PoiFilter filter, ResultMatcher< Amenity > matcher) |
Protected Attributes | |
List< Amenity > | cachedObjects = new ArrayList<Amenity>() |
double | cTopLatitude |
double | cBottomLatitude |
double | cLeftLongitude |
double | cRightLongitude |
int | cZoom |
net.osmand.plus.AmenityIndexRepositoryBinary.AmenityIndexRepositoryBinary | ( | BinaryMapIndexReader | index | ) |
synchronized boolean net.osmand.plus.AmenityIndexRepositoryBinary.checkCachedAmenities | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude, | ||
int | zoom, | ||
String | filterId, | ||
List< Amenity > | toFill, | ||
boolean | fillFound | ||
) |
Implements net.osmand.plus.AmenityIndexRepository.
boolean net.osmand.plus.AmenityIndexRepositoryBinary.checkContains | ( | double | latitude, |
double | longitude | ||
) |
Implements net.osmand.plus.AmenityIndexRepository.
boolean net.osmand.plus.AmenityIndexRepositoryBinary.checkContains | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude | ||
) |
Implements net.osmand.plus.AmenityIndexRepository.
Implements net.osmand.plus.AmenityIndexRepository.
Implements net.osmand.plus.AmenityIndexRepository.
void net.osmand.plus.AmenityIndexRepositoryBinary.evaluateCachedAmenities | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude, | ||
int | zoom, | ||
PoiFilter | filter, | ||
ResultMatcher< Amenity > | matcher | ||
) |
Implements net.osmand.plus.AmenityIndexRepository.
List<Amenity> net.osmand.plus.AmenityIndexRepositoryBinary.searchAmenities | ( | int | stop, |
int | sleft, | ||
int | sbottom, | ||
int | sright, | ||
int | zoom, | ||
final PoiFilter | filter, | ||
final List< Amenity > | amenities, | ||
ResultMatcher< Amenity > | matcher | ||
) |
List<Amenity> net.osmand.plus.AmenityIndexRepositoryBinary.searchAmenitiesByName | ( | int | x, |
int | y, | ||
String | query, | ||
ResultMatcher< Amenity > | resulMatcher | ||
) |
Map<AmenityType, List<String> > net.osmand.plus.AmenityIndexRepositoryBinary.searchAmenityCategoriesByName | ( | String | query, |
Map< AmenityType, List< String >> | map | ||
) |
List<Amenity> net.osmand.plus.AmenityIndexRepositoryBinary.cachedObjects = new ArrayList<Amenity>() [protected] |
double net.osmand.plus.AmenityIndexRepositoryBinary.cBottomLatitude [protected] |
double net.osmand.plus.AmenityIndexRepositoryBinary.cLeftLongitude [protected] |
double net.osmand.plus.AmenityIndexRepositoryBinary.cRightLongitude [protected] |
double net.osmand.plus.AmenityIndexRepositoryBinary.cTopLatitude [protected] |
int net.osmand.plus.AmenityIndexRepositoryBinary.cZoom [protected] |