I cannot move the compass and see it , i was able to see it with this code
void _updateOrnamentSettings() {
_mapboxMap.compass.updateSettings(CompassSettings(
position: compassPosition,
enabled: showOrnaments,
fadeWhenFacingNorth: false,
marginBottom: 10,
marginLeft: 10,
marginTop: 10,
marginRight: 10,
));
logger.i("Compass settings updated: position - $compassPosition, enabled - $showOrnaments");
}
I cannot move the compass and see it , i was able to see it with this code void _updateOrnamentSettings() { _mapboxMap.compass.updateSettings(CompassSettings( position: compassPosition, enabled: showOrnaments, fadeWhenFacingNorth: false, marginBottom: 10, marginLeft: 10, marginTop: 10, marginRight: 10, )); logger.i("Compass settings updated: position - $compassPosition, enabled - $showOrnaments"); }