OsmAnd
|
Public Member Functions | |
TransportIndexRepositoryBinary (BinaryMapIndexReader file) | |
boolean | checkContains (double latitude, double longitude) |
boolean | checkContains (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude) |
boolean | checkCachedObjects (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, List< TransportStop > toFill) |
synchronized boolean | checkCachedObjects (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, List< TransportStop > toFill, boolean fillFound) |
List< TransportStop > | searchTransportStops (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int limit, List< TransportStop > stops, ResultMatcher< TransportStop > matcher) |
List< String > | getRouteDescriptionsForStop (TransportStop stop, String format) |
void | evaluateCachedTransportStops (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, int limit, ResultMatcher< TransportStop > matcher) |
List< RouteInfoLocation > | searchTransportRouteStops (double latitude, double longitude, LatLon locationToGo, int zoom) |
boolean | acceptTransportStop (TransportStop stop) |
void | close () |
Protected Attributes | |
List< TransportStop > | cachedObjects = new ArrayList<TransportStop>() |
double | cTopLatitude |
double | cBottomLatitude |
double | cLeftLongitude |
double | cRightLongitude |
net.osmand.plus.TransportIndexRepositoryBinary.TransportIndexRepositoryBinary | ( | BinaryMapIndexReader | file | ) |
boolean net.osmand.plus.TransportIndexRepositoryBinary.acceptTransportStop | ( | TransportStop | stop | ) |
Implements net.osmand.plus.TransportIndexRepository.
boolean net.osmand.plus.TransportIndexRepositoryBinary.checkCachedObjects | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude, | ||
int | zoom, | ||
List< TransportStop > | toFill | ||
) |
Implements net.osmand.plus.TransportIndexRepository.
synchronized boolean net.osmand.plus.TransportIndexRepositoryBinary.checkCachedObjects | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude, | ||
int | zoom, | ||
List< TransportStop > | toFill, | ||
boolean | fillFound | ||
) |
Implements net.osmand.plus.TransportIndexRepository.
boolean net.osmand.plus.TransportIndexRepositoryBinary.checkContains | ( | double | latitude, |
double | longitude | ||
) |
Implements net.osmand.plus.TransportIndexRepository.
boolean net.osmand.plus.TransportIndexRepositoryBinary.checkContains | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude | ||
) |
Implements net.osmand.plus.TransportIndexRepository.
Implements net.osmand.plus.TransportIndexRepository.
void net.osmand.plus.TransportIndexRepositoryBinary.evaluateCachedTransportStops | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude, | ||
int | zoom, | ||
int | limit, | ||
ResultMatcher< TransportStop > | matcher | ||
) |
Implements net.osmand.plus.TransportIndexRepository.
List<String> net.osmand.plus.TransportIndexRepositoryBinary.getRouteDescriptionsForStop | ( | TransportStop | stop, |
String | format | ||
) |
stop | |
format | {0} - ref, {1} - type, {2} - name, {3} - name_en |
Implements net.osmand.plus.TransportIndexRepository.
List<RouteInfoLocation> net.osmand.plus.TransportIndexRepositoryBinary.searchTransportRouteStops | ( | double | latitude, |
double | longitude, | ||
LatLon | locationToGo, | ||
int | zoom | ||
) |
Implements net.osmand.plus.TransportIndexRepository.
List<TransportStop> net.osmand.plus.TransportIndexRepositoryBinary.searchTransportStops | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude, | ||
int | limit, | ||
List< TransportStop > | stops, | ||
ResultMatcher< TransportStop > | matcher | ||
) |
List<TransportStop> net.osmand.plus.TransportIndexRepositoryBinary.cachedObjects = new ArrayList<TransportStop>() [protected] |
double net.osmand.plus.TransportIndexRepositoryBinary.cBottomLatitude [protected] |
double net.osmand.plus.TransportIndexRepositoryBinary.cLeftLongitude [protected] |
double net.osmand.plus.TransportIndexRepositoryBinary.cRightLongitude [protected] |
double net.osmand.plus.TransportIndexRepositoryBinary.cTopLatitude [protected] |