Package slash.navigation.pois.mapsforge
Class MapsforgeMapGeocodingService
java.lang.Object
slash.navigation.geocoding.BaseGeocodingService
slash.navigation.pois.mapsforge.MapsforgeMapGeocodingService
- All Implemented Interfaces:
GeocodingService
Geocoding service adapter for embedded named features in the displayed Mapsforge
.map file.
This class is intended to integrate the current map context with the geocoding facade while
delegating direct map-file search and reverse lookup to MapsforgeMapLookup.- Author:
- Christian Pesch
-
Constructor Summary
ConstructorsConstructorDescriptionMapsforgeMapGeocodingService(MapsforgeMapManager mapsforgeMapManager, Supplier<BoundingBox> visibleBoundsSupplier) -
Method Summary
Modifier and TypeMethodDescriptiongetAddressFor(NavigationPosition position) Retrieves an address for a givenNavigationPosition.getName()getPositionsFor(String address) Retrieves a list ofGeocodingResults for a given address.booleanbooleanMethods inherited from class slash.navigation.geocoding.BaseGeocodingService
asGeocodingResults, asGeocodingResults
-
Constructor Details
-
Method Details
-
getName
-
isDownload
public boolean isDownload() -
isOverQueryLimit
public boolean isOverQueryLimit() -
getPositionsFor
Description copied from interface:GeocodingServiceRetrieves a list ofGeocodingResults for a given address.- Parameters:
address- the address to geocode- Returns:
- a list of
GeocodingResults for the given address
-