Esempio n. 1
0
 /**
  * Enables or disables the compass. The compass is an icon on the map that indicates the direction
  * of north on the map. When a user clicks the compass, the camera orients itself to its default
  * orientation and fades away shortly after. If disabled, the compass will never be displayed. By
  * default, the compass is enabled.
  *
  * @param compassEnabled True to enable the compass; false to disable the compass.
  */
 public void setCompassEnabled(boolean compassEnabled) {
   compassSettings.setEnabled(compassEnabled);
   mapView.setCompassEnabled(compassEnabled);
 }