ImageExport

ImageExport allows you to export your current map-view. You can choose png or jpeg format.

../../../_images/image_export1.png

Configuration

../../../_images/image_export_configuration1.png
  • Title: Title of the element. The title will be listed in “Layouts” and allows to distinguish between different buttons. The title will be displayed besides the button if “Show label” is activated.
  • Target: Target element (Title(ID)) of the button.

YAML-Definition:

target: ~                        # Id of Map element to query (e.g. map)

You need a button to show this element. See Button for inherited configuration options.

Class, Widget & Style

  • Class: Mapbender\PrintBundle\Element\ImageExport
  • Widget: mapbender.element.imageExport.js