Compass Plugin
interface CompassPlugin : ViewPlugin, MapCameraPlugin, LifecyclePlugin, CompassSettingsInterface
Content copied to clipboard
Presenter interface for the Compass.
Functions
addCompassClickListener
Link copied to clipboard
abstract fun addCompassClickListener(onClickListener: OnCompassClickListener)
Content copied to clipboard
bind
Link copied to clipboard
abstract fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
Content copied to clipboard
getSettings
Link copied to clipboard
initialize
Link 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
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
fadeWhenFacingNorth
Link copied to clipboard
Whether the compass fades out to invisible when facing north direction.
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.
visibility
Link copied to clipboard
Whether the compass is displayed.
Inheritors
CompassViewPlugin
Link copied to clipboard