Scale Bar Settings Interface
interface ScaleBarSettingsInterface
Content copied to clipboard
Interface that defines the public settings interface for ScaleBarPlugin.
Functions
Properties
borderWidth
Link copied to clipboard
Defines width of the border for the scale bar.
isMetricUnits
Link copied to clipboard
Whether the scale bar is using metric unit.
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.
primaryColor
Link copied to clipboard
Defines primary color of the scale bar.
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.
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.