问题
I was wondering if there was a way to move the location of the 'Reset North' button that is generated by Mapbox. It is in the top right of the screen where my EditText (search) is, so my EditText blocks it.
回答1:
You can change the placement of the compass with:
mapboxMap.getUiSettings().setCompassMargins(left, top, right, bottom);
来源:https://stackoverflow.com/questions/52832100/move-reset-north-button-on-android-studio-for-mapbox