Android 如何显示移动方向

Android 如何显示移动方向,android,ios,react-native,maps,Android,Ios,React Native,Maps,我正在使用该软件包进行位置跟踪并使用Firebase。然后如何在地图上显示移动方向,比如如果向西移动,我的位置会变成向西看。我没有找到这样的东西。这对我来说是件新鲜事 BackgroundGeolocation.configure({ desiredAccuracy: BackgroundGeolocation.LOW_ACCURACY, stationaryRadius: 120, distanceFilter: 120, not

我正在使用该软件包进行位置跟踪并使用Firebase。然后如何在地图上显示移动方向,比如如果向西移动,我的位置会变成向西看。我没有找到这样的东西。这对我来说是件新鲜事

BackgroundGeolocation.configure({
        desiredAccuracy: BackgroundGeolocation.LOW_ACCURACY,
        stationaryRadius: 120,
        distanceFilter: 120,
        notificationTitle: 'Background tracking',
        notificationText: 'enabled',
        debug: true,
        startOnBoot: false,
        stopOnTerminate: true,
        locationProvider: BackgroundGeolocation.DISTANCE_FILTER_PROVIDER,
        interval: 30000,
        fastestInterval: 30000,
        activitiesInterval: 30000,
        stopOnStillActivity: true,
        url: 'URL!',
        httpHeaders: {
            'X-FOO': 'bar',
        },
        postTemplate: {
            lat: '@latitude',
            lon: '@longitude',
        }
    })