We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapbox
10.1.31
0.74.3
Android
@rnmapbox/maps
import React, { useRef } from 'react'; import Mapbox from '@rnmapbox/maps'; import {View} from "react-native"; Mapbox.setAccessToken('YOUR_MAPBOX_ACCESS_TOKEN'); const Map = () => { const camera = useRef<Mapbox.Camera>(null); const map = useRef<Mapbox.MapView>(null); const zoomLevel = 10; return ( <View> <Mapbox.MapView ref={map} styleURL="mapbox://styles/mapbox/light-v11" projection={'globe'} logoEnabled={false} attributionEnabled={false} scaleBarEnabled={false}> <Mapbox.Camera ref={camera} zoomLevel={zoomLevel} animationMode={'flyTo'} animationDuration={2000} /> </Mapbox.MapView> </View> ); };
Video ^^^
I tried:
IMPORTANT: the bug is only with the android build, in debug mode it works good (ONLY WITH SOME ANDROID, NOT ALL)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Mapbox Implementation
Mapbox
Mapbox Version
10.1.31
React Native Version
0.74.3
Platform
Android
@rnmapbox/maps
version10.1.31
Standalone component to reproduce
Observed behavior and steps to reproduce
592a60e0-9a8a-484d-b8f1-4f8847d45e8a.MP4
Expected behavior
Video ^^^
Notes / preliminary analysis
I tried:
IMPORTANT: the bug is only with the android build, in debug mode it works good (ONLY WITH SOME ANDROID, NOT ALL)
Additional links and references
Video ^^^
The text was updated successfully, but these errors were encountered: