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
defaykt
0.73.5
iOS
@rnmapbox/maps
10.1.13
import React, { useRef, useEffect } from 'react'; import { MapView, ShapeSource, LineLayer, Camera, } from '@rnmapbox/maps'; const aLine = { type: 'LineString', coordinates: [ [-74.00597, 40.71427], [-74.00697, 40.71527], ], }; const BugReportExample = () => { const cameraRef = useRef(); useEffect(() => { setTimeout(() => cameraRef.current?.setCamera({ heading: 90 }), 2000); }, []); return ( <MapView style={{ flex: 1 }}> <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} ref={cameraRef} /> <ShapeSource id="idStreetLayer" shape={aLine}> <LineLayer id="idStreetLayer" /> </ShapeSource> </MapView> ); }
The following camera specifications don't work on iOS, starting with version 10.1.13:
They both work when a centerCoordinate is also specified.
The above camera specifications should work without centerCoordinate being specified.
It works on Android.
It used to work on iOS until version 10.1.13.
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Mapbox Implementation
Mapbox
Mapbox Version
defaykt
React Native Version
0.73.5
Platform
iOS
@rnmapbox/maps
version10.1.13
Standalone component to reproduce
Observed behavior and steps to reproduce
The following camera specifications don't work on iOS, starting with version 10.1.13:
They both work when a centerCoordinate is also specified.
Expected behavior
The above camera specifications should work without centerCoordinate being specified.
It works on Android.
It used to work on iOS until version 10.1.13.
Notes / preliminary analysis
No response
Additional links and references
No response
The text was updated successfully, but these errors were encountered: