Skip to content
Andreas Fast edited this page Feb 16, 2016 · 3 revisions

Place images anywhere on the document to provide a richer experience for your exported map.

The images property should be an array of the following items:

  • path is the path to an image file or a url to an image.
  • position is the position {x: 50, y: 50} at which the image will be printed.
  • options => fit in case you want to fit the image in a certain box fit: {width: 25, height: 25}.

Example

images: [{
  path: './file.png', # can be a url
  position: {x: 50, y: 50 },
  options: {
    fit: {
      width: 25,
      height: 25
    }
  }
}]
Clone this wiki locally