WemapGeoARSDK

Augmented-reality navigation and points of interest overlaid on the device camera.

Overview

WemapGeoARSDK renders Wemap navigation and POIs in AR. Create a session, pass it to a GeoARView via configure, then attach a LocationSource (from WemapPositioningSDK) to position the AR scene. The view's managers and properties are only available after it has finished loading — await it with awaitLoaded() (or observe loadPhases) and touch the view only once it is loaded.

import com.getwemap.sdk.geoar.GeoARView
import com.getwemap.sdk.geoar.GeoARViewConfig

geoARView.configure(session, GeoARViewConfig())

lifecycleScope.launch {
geoARView.awaitLoaded()
// the AR view is ready — its managers are now available
geoARView.locationManager.locationSource = locationSource
}

AR requires camera access — declare android.permission.CAMERA in your manifest and request the permission before presenting the view.

This module requires minSdk 24 and Java 17, matching its ARCore/SceneView dependencies.

Packages

Link copied to clipboard
Link copied to clipboard