Scale Bar Settings Interface
Interface that defines the public settings interface for ScaleBarPlugin.
interface ScaleBarSettingsInterface
Content copied to clipboard
Functions
equals
Link copied to clipboard
getSettings
Link copied to clipboard
updateSettings
Link copied to clipboard
Properties
borderWidth
Link copied to clipboard
Defines width of the border for the scale bar.
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