OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
net.osmand.plus.TransportIndexRepositoryBinary Class Reference
Inheritance diagram for net.osmand.plus.TransportIndexRepositoryBinary:
net.osmand.plus.TransportIndexRepository

List of all members.

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

Constructor & Destructor Documentation


Member Function Documentation

boolean net.osmand.plus.TransportIndexRepositoryBinary.checkCachedObjects ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  zoom,
List< TransportStop >  toFill 
)
synchronized boolean net.osmand.plus.TransportIndexRepositoryBinary.checkCachedObjects ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  zoom,
List< TransportStop >  toFill,
boolean  fillFound 
)
boolean net.osmand.plus.TransportIndexRepositoryBinary.checkContains ( double  latitude,
double  longitude 
)
boolean net.osmand.plus.TransportIndexRepositoryBinary.checkContains ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude 
)
void net.osmand.plus.TransportIndexRepositoryBinary.evaluateCachedTransportStops ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  zoom,
int  limit,
ResultMatcher< TransportStop >  matcher 
)
List<String> net.osmand.plus.TransportIndexRepositoryBinary.getRouteDescriptionsForStop ( TransportStop  stop,
String  format 
)
Parameters:
stop
format{0} - ref, {1} - type, {2} - name, {3} - name_en
Returns:
null if something goes wrong

Implements net.osmand.plus.TransportIndexRepository.

List<RouteInfoLocation> net.osmand.plus.TransportIndexRepositoryBinary.searchTransportRouteStops ( double  latitude,
double  longitude,
LatLon  locationToGo,
int  zoom 
)
List<TransportStop> net.osmand.plus.TransportIndexRepositoryBinary.searchTransportStops ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  limit,
List< TransportStop >  stops,
ResultMatcher< TransportStop >  matcher 
)

Member Data Documentation

List<TransportStop> net.osmand.plus.TransportIndexRepositoryBinary.cachedObjects = new ArrayList<TransportStop>() [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines