Scale Bar Plugin Impl
open class ScaleBarPluginImpl(viewImplProvider: (Context) -> ScaleBarImpl) : ScaleBarSettingsBase, ScaleBarPlugin
Content copied to clipboard
Concrete implementation of ScaleBarViewPlugin.
Constructors
ScaleBarPluginImpl
Link copied to clipboard
fun ScaleBarPluginImpl(viewImplProvider: (Context) -> ScaleBarImpl = { ScaleBarImpl(it) })
Content copied to clipboard
Functions
bind
Link copied to clipboard
open override fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
Content 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
distancePerPixel
Link copied to clipboard
isMetricUnits
Link copied to clipboard
marginBottom
Link copied to clipboard
marginLeft
Link copied to clipboard
marginRight
Link copied to clipboard
primaryColor
Link copied to clipboard
refreshInterval
Link copied to clipboard
secondaryColor
Link copied to clipboard
showTextBorder
Link copied to clipboard
textBarMargin
Link copied to clipboard
textBorderWidth
Link copied to clipboard
useContinuousRendering
Link copied to clipboard
If set to True scale bar will be triggering onDraw depending on ScaleBarSettings.refreshInterval even if actual data did not change.