WemapPositioningSDK Fused GMS
Outdoor positioning backed by the Google Play Services fused location provider.
Overview
This module wraps the Google Play Services fused location provider into a Wemap LocationSource, combining GPS, Wi-Fi, and sensors for accurate outdoor positioning on devices that ship with Google Play Services. Create a GmsFusedLocationSource from a session and assign it to a WemapMapView's or GeoARView's location manager — or start it directly for a third-party map or AR system.
import com.getwemap.sdk.positioning.fusedgms.GmsFusedLocationSource
val fused = GmsFusedLocationSource(context, session)
// attach once the view has loaded (see WemapMapSDK / WemapGeoARSDK — awaitLoaded()):
mapView.userLocationManager.locationSource = fusedContent copied to clipboard
Requires the android.permission.ACCESS_FINE_LOCATION permission. Request location permission before starting the source. For devices without Google Play Services, use WemapPositioningSDK GPS or the adaptive fused source instead.