コード例 #1
0
 /**
  * Sets the gravity of the attribution. By default, the attribution is in the bottom left corner
  * next to the Mapbox logo.
  *
  * @param gravity One of the values from {@link Gravity}.
  * @see Gravity
  */
 public void setAttributionGravity(int gravity) {
   attributionSettings.setGravity(gravity);
   mapView.setAttributionGravity(gravity);
 }
コード例 #2
0
 /**
  * Sets the gravity of the logo view. Use this to change the corner of the map view that the
  * Mapbox logo is displayed in. By default, the logo is in the bottom left corner.
  *
  * @param gravity One of the values from {@link Gravity}.
  * @see Gravity
  */
 public void setLogoGravity(int gravity) {
   logoSettings.setGravity(gravity);
   mapView.setLogoGravity(gravity);
 }