Scale
            interface ScaleBarPlugin : ViewPlugin, MapSizePlugin, ScaleBarSettingsInterface
Content copied to clipboard
Presenter interface for the ScaleBar.
Functions
bind
                          
                    Link copied to clipboard
                        abstract fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
Content copied to clipboard
Bind a view instance
get
                    Link copied to clipboard
                        Get current scalebar configuration.
initialize
                          
                    Link copied to clipboard
                        open fun initialize()
Content copied to clipboard
Called when the plugin is first added to the map.
on
                    Link copied to clipboard
                        Provides all map delegate instances.
on
                    Link copied to clipboard
                        Provides a view instances returned in inflate 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
                        Update scalebar configuration, the update will be applied to the plugin automatically.
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. 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.
Inheritors
ScaleBarPluginImpl
                          
                    
                  Link copied to clipboard