Compass Plugin
Presenter interface for the Compass.
interface CompassPlugin : ViewPlugin, MapCameraPlugin, LifecyclePlugin, CompassSettingsInterface
Content copied to clipboard
Functions
addCompassClickListener
Link copied to clipboard
abstract fun addCompassClickListener(onClickListener: OnCompassClickListener)
Content copied to clipboard
bind
Link copied to clipboard
abstract override fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
Content copied to clipboard
equals
Link copied to clipboard
getSettings
Link copied to clipboard
initialize
Link copied to clipboard
open override fun initialize()
Content copied to clipboard
onCameraMove
Link copied to clipboard
onCompassClicked
Link copied to clipboard
abstract fun onCompassClicked()
Content copied to clipboard
onDelegateProvider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Content copied to clipboard
onPluginView
Link copied to clipboard
removeCompassClickListener
Link copied to clipboard
abstract fun removeCompassClickListener(onClickListener: OnCompassClickListener)
Content copied to clipboard
updateSettings
Link copied to clipboard
Properties
clickable
Link copied to clipboard
enabled
Link copied to clipboard
fadeWhenFacingNorth
Link copied to clipboard
Whether the compass fades out to invisible when facing north direction.
image
Link copied to clipboard
marginBottom
Link copied to clipboard
Defines the margin to the bottom that the compass icon honors.
marginLeft
Link copied to clipboard
Defines the margin to the left that the compass icon honors.
marginRight
Link copied to clipboard
Defines the margin to the right that the compass icon honors.
marginTop
Link copied to clipboard
opacity
Link copied to clipboard
position
Link copied to clipboard
rotation
Link copied to clipboard
visibility
Link copied to clipboard
Whether the compass is displayed.
Inheritors
CompassViewPlugin
Link copied to clipboard