Longitude and latitude of the map center.
Dot-per-inch, usually 96 for a computer screen and 300 for a detailed print.
Array of Layer
objects that will be rendered in the map; last layers will be rendered on top of first layers.
Optional
northNorth arrow position; specify true
for default position (top right). No north arrow if left undefined.
EPSG projection code.
Projection definitions to be newly registered.
Scale denominator.
Optional
scaleScale bar position or specs (for more options); specify true
for default position (bottom-left). No scale bar if left undefined.
Width and height in pixels, or in the specified unit in 3rd place; valid units are px
, mm
, cm
, m
and in
.
Position where the attributions should be printed; specify
true
for default position (bottom right).