Package mapnik :: Module printing :: Class centering

Class centering

Style of centering to use with the map, the default is constrained

none: map will be placed flush with the margin/box in the top left corner
constrained: map will be centered on the most constrained axis (for a portrait page
             and a square map this will be horizontally)
unconstrained: map will be centered on the unconstrained axis

Class Variables
  none = 0
  constrained = 1
  unconstrained = 2
  vertical = 3
  horizontal = 4
  both = 5
Some predefined page sizes custom sizes can also be passed a tuple of the page width and height in meters