Package-level declarations

Types

Link copied to clipboard
class OSMEnvironment<T> @JvmOverloads constructor(incarnation: Incarnation<T, GeoPosition>, file: String? = null, onStreets: Boolean = file != null, onlyOnStreets: Boolean = DEFAULT_FORCE_STREETS, approximation: Int = DEFAULT_APPROXIMATION) : Abstract2DEnvironment<T, GeoPosition> , MapEnvironment<T, GraphHopperOptions, GraphHopperRoutingService>

An environment backed by an OpenStreetMap extract stored in file. It encloses the navigation logic, loading the map lazily the first time navigation is required. Routes are cached in memory for performance reasons.