Scale-Bar

The scale bar can be positioned with the following parameters:

Position of the scale-bar

scale_bar_anchor

Anchor point of the scale-bar

  • 0: top left
  • 1: lower left
  • 2: upper right
  • 3: lower right (default)

scale_bar_x

Relative x-position of the scale-bar seen to the anchor point, negative values are allowed.
Specification of integer values in pixels [default: 24 pixels]

scale_bar_y

Relative y-position of the scale-bar seen to the anchor point, negative values are allowed.
Specification of integer values in pixels [default: 24 pixels]

[300 px/in = 118 px/cm]

Display modes of Scale-Bar 

scale_bar_display_mode

  • both = Show miles and kilometer (Standard)
  • mi Show miles 
  • km Show kilometer
  • none = Hide Scale-bar
Comments