Scale Bar Plugin Impl
            Concrete implementation of ScaleBarViewPlugin.
open class ScaleBarPluginImpl(viewImplProvider: (Context) -> ScaleBarImpl) : ScaleBarSettingsBase, ScaleBarPlugin
Content copied to clipboard
Constructors
ScaleBarPluginImpl
                        
                  Link copied to clipboard
                      Functions
bind
                        
                  Link copied to clipboard
                      open 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
                      distancePerPixel
                        
                  Link copied to clipboard
                      How many meters in each pixel.
enabled
                        
                  
                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. If set to False scale bar will redraw only on demand.
Defaults to False and should not be changed explicitly in most cases. Could be set to True to produce correct GPU frame metrics when running gfxinfo command.