Scale Bar Plugin
Presenter interface for the ScaleBar.
interface ScaleBarPlugin : ViewPlugin, MapSizePlugin, ScaleBarSettingsInterface
Content copied to clipboard
Functions
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
onDelegateProvider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Content copied to clipboard
onPluginView
Link copied to clipboard
onSizeChanged
Link copied to clipboard
updateSettings
Link copied to clipboard
Properties
borderWidth
Link copied to clipboard
Defines width of the border for the scale bar.
distancePerPixel
Link copied to clipboard
How many meters in each pixel.
enabled
Link copied to clipboard
height
Link copied to clipboard
isMetricUnits
Link copied to clipboard
Whether the scale bar is using metric unit. True if the scale bar is using metric system, false if the scale bar is using imperial units.
marginBottom
Link copied to clipboard
Defines the margin to the bottom that the scale bar honors.
marginLeft
Link copied to clipboard
Defines the margin to the left that the scale bar honors.
marginRight
Link copied to clipboard
Defines the margin to the right that the scale bar honors.
marginTop
Link copied to clipboard
position
Link copied to clipboard
primaryColor
Link copied to clipboard
Defines primary color of the scale bar.
ratio
Link copied to clipboard
refreshInterval
Link copied to clipboard
Configures minimum refresh interval, in millisecond, default is 15.
secondaryColor
Link copied to clipboard
Defines secondary color of the scale bar.
showTextBorder
Link copied to clipboard
Configures whether to show the text border or not, default is true.
textBarMargin
Link copied to clipboard
Defines margin of the text bar of the scale bar.
textBorderWidth
Link copied to clipboard
Defines text border width of the scale bar.
textColor
Link copied to clipboard
Inheritors
ScaleBarPluginImpl
Link copied to clipboard