コード例 #1
0
 /**
  * Enables or disables the attribution. By default, the attribution is enabled.
  *
  * @param enabled True to enable the attribution; false to disable the attribution.
  */
 public void setAttributionEnabled(boolean enabled) {
   attributionSettings.setEnabled(enabled);
   mapView.setAttributionEnabled(enabled ? View.VISIBLE : View.GONE);
 }
コード例 #2
0
 /**
  * Enables or disables the Mapbox logo. By default, the compass is enabled.
  *
  * @param enabled True to enable the logo; false to disable the logo.
  */
 public void setLogoEnabled(boolean enabled) {
   logoSettings.setEnabled(enabled);
   mapView.setLogoEnabled(enabled);
 }