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
compassImage is currently iOS-only (see the prop docs); on Android it is a no-op. Relabeling this as a feature request. We are looking into adding Android support via the compass plugin settings.
Activity
[-][Bug]:[/-][+][Bug]: CompassImage not working[/+]mfazekas commentedon Oct 25, 2026
compassImageis currently iOS-only (see the prop docs); on Android it is a no-op. Relabeling this as a feature request. We are looking into adding Android support via the compass plugin settings.feat(android): support MapView compassImage (rnmapbox#4399)