MapSession
The session type to create when using the Map SDK.
MapSession is a CoreSession specialized for map rendering: create one and pass it to WemapMapView to display the map. As a CoreSession it carries all the shared state the Wemap SDKs build on, so the same MapSession can also be handed to GeoARView and the positioning location sources to keep navigation, points-of-interest selection, and the user's location consistent across every view.
On top of CoreSession it adds support for offline maps: open a map with no network connection via Companion.create with an offlineZip, using a data package previously downloaded with createPackdataService.
Properties
Functions
Link copied to clipboard
fun getNavigationManager(mapRenderer: NavigationRenderer?, arRenderer: NavigationRenderer?, locationProvider: LocationProvider, lifecycleScope: CoroutineScope, itineraryProvider: ItineraryProvider?): NavigationManagerImpl
Link copied to clipboard
fun getPointOfInterestManager(mapRenderer: PointOfInterestRenderer?, arRenderer: PointOfInterestRenderer?, lifecycleScope: CoroutineScope): PointOfInterestManagerImpl