/** * Sets the gravity of the compass view. Use this to change the corner of the map view that the * compass is displayed in. By default, the compass is in the top right corner. * * @param gravity One of the values from {@link Gravity}. * @see Gravity */ @UiThread public void setCompassGravity(int gravity) { compassSettings.setGravity(gravity); mapView.setCompassGravity(gravity); }