Scale
            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
Bind the ViewPlugin with current map context. This will create a View that will be added to the MapView.
get
                    Link copied to clipboard
                        initialize
                          
                    Link copied to clipboard
                        open override fun initialize()
Content copied to clipboard
Called when the plugin is first added to the map.
on
                    Link copied to clipboard
                        open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Content copied to clipboard
Provides all map delegate instances.
on
                    Link copied to clipboard
                        Provides a view instances returned in bind after it's been added to the MapView.
on
                    Link copied to clipboard
                        Invoked when MapView's width and height have changed.
update
                    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. If set to False scale bar will redraw only on demand.