Ui Settings
class UiSettings
Settings for the user interface of a MapLibreMap. To obtain this interface, call getUiSettings().
Functions
Link copied to clipboard
Retrieves the current status of whether all gestures are enabled.
Link copied to clipboard
Returns the gravity value of the logo
Link copied to clipboard
Returns the bottom side margin of the logo in pixels.
Link copied to clipboard
Returns the left side margin of the attribution view in pixels.
Link copied to clipboard
Returns the right side margin of the attribution view in pixels.
Link copied to clipboard
Returns the top side margin of the attribution view in pixels.
Link copied to clipboard
Returns the gravity value of the CompassView
Link copied to clipboard
Get the current configured CompassView image.
Link copied to clipboard
Returns the bottom side margin of CompassView in pixels.
Link copied to clipboard
Returns the left side margin of CompassView in pixels.
Link copied to clipboard
Returns the right side margin of CompassView in pixels.
Link copied to clipboard
Returns the top side margin of CompassView in pixels.
Link copied to clipboard
Returns the gesture focal point
Link copied to clipboard
Returns the gravity value of the logo
Link copied to clipboard
Returns the bottom side margin of the logo in pixels.
Link copied to clipboard
Returns the left side margin of the logo in pixels.
Link copied to clipboard
Returns the right side margin of the logo in pixels.
Link copied to clipboard
Returns the top side margin of the logo in pixels.
Link copied to clipboard
Invalidates the ViewSettings instances shown on top of the MapView
Link copied to clipboard
Returns whether the attribution is enabled.
Link copied to clipboard
Returns whether the compass is enabled.
Link copied to clipboard
Returns whether the compass performs a fading animation out when facing north.
Link copied to clipboard
Gets whether the markers are automatically deselected (and therefore, their infowindows closed) when a map tap is detected.
Link copied to clipboard
Returns whether rotation gesture detector is disabled when scale is detected first.
Link copied to clipboard
Returns whether the user may zoom the map with a double tap.
Link copied to clipboard
Returns whether fling velocity animation should execute after users finishes a gesture.
Link copied to clipboard
Returns whether the user may scroll horizontally around the map.
Link copied to clipboard
Returns whether rotation threshold should be increase whenever scale is detected.
Link copied to clipboard
Returns whether scale threshold should be increase whenever rotation is detected.
Link copied to clipboard
Returns whether the logo is enabled.
Link copied to clipboard
Returns whether the user may zoom the map by tapping twice, holding and moving the pointer up and down.
Link copied to clipboard
Returns whether the user may rotate the map.
Link copied to clipboard
Returns whether rotate velocity animation should execute after users finishes a gesture.
Link copied to clipboard
Returns whether scale velocity animation should execute after users finishes a gesture.
Link copied to clipboard
Returns whether the user may scroll around the map.
Link copied to clipboard
Returns whether the user may tilt the map.
Link copied to clipboard
Returns whether the user may zoom the map.
Link copied to clipboard
Sets the preference for whether all gestures should be enabled or disabled.
Link copied to clipboard
Set whether all velocity animations should execute after users finishes a gesture.
Link copied to clipboard
Enables or disables the attribution.
Link copied to clipboard
Sets the gravity of the attribution.
Link copied to clipboard
Link copied to clipboard
Sets the tint of the attribution view.
Link copied to clipboard
Enables or disables the compass.
Link copied to clipboard
Enables or disables fading of the compass when facing north.
Link copied to clipboard
Sets the gravity of the compass view.
Link copied to clipboard
Specifies the CompassView image.
Link copied to clipboard
Sets whether the markers are automatically deselected (and therefore, their infowindows closed) when a map tap is detected.
Link copied to clipboard
Set whether rotation gesture detector should be disabled when scale is detected first.
Link copied to clipboard
Changes whether the user may zoom the map with a double tap.
Link copied to clipboard
Set whether fling velocity animation should execute after users finishes a gesture.
Link copied to clipboard
Sets the focal point used as center for a gesture
Link copied to clipboard
Changes whether the user may scroll horizontally around the map.
Link copied to clipboard
Set whether rotation threshold should be increase whenever scale is detected.
Link copied to clipboard
set whether scale threshold should be increase whenever rotation is detected.
Link copied to clipboard
Enables or disables the MapLibre logo.
Link copied to clipboard
Sets the gravity of the logo view.
Link copied to clipboard
Link copied to clipboard
Changes whether the user may zoom the map by tapping twice, holding and moving the pointer up and down.
Link copied to clipboard
Changes whether the user may rotate the map.
Link copied to clipboard
Set whether rotate velocity animation should execute after users finishes a gesture.
Link copied to clipboard
Set whether scale velocity animation should execute after users finishes a gesture.
Link copied to clipboard
Changes whether the user may scroll around the map.
Link copied to clipboard
Changes whether the user may tilt the map.
Link copied to clipboard
Changes whether the user may zoom the map.