You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importReactfrom'react';import{MapView,Camera,Images,}from'@rnmapbox/maps';constaLine={type: 'LineString',coordinates: [[-74.00597,40.71427],[-74.00697,40.71527],],};classBugReportExampleextendsReact.Component{render(){return(<MapViewstyle={{flex: 1}}compassEnabled={true}compassImage={'compassHeading'}><CameracenterCoordinate={[-74.00597,40.71427]}zoomLevel={14}/><Imagesimages={{compassHeading: 'https://cdn-icons-png.freepik.com/512/14979/14979943.png',// example image, in my code I used a require(...)}}/></MapView>);}}
Observed behavior and steps to reproduce
Compass did not render correctly
Expected behavior
Compass to assume the image I assigned for it.
Notes / preliminary analysis
I have no error nor warning on this. I have read some issues that mention something like this but only found #2402
Activity
[-][Bug]:[/-][+][Bug]: CompassImage not working[/+]