MapbenderLogo
4.0
  • English
    • Installation
    • Mapbender Quickstart: First steps with Mapbender
    • Elements
      • Base elements
      • Editing
      • Export / Print
      • Search
      • Share elements
      • Other
        • About Dialog
        • Application Switcher
        • Button
        • Cookie Banner
        • Link
        • Coordinates Utility
        • Copyright
        • Dimensions handler
        • GPS Position
        • HTML
        • POI
        • Query Builder
        • WMS Loader
    • Backend
    • Customization / Tips and tricks
    • FAQ - Frequently Asked Questions
    • Architecture
    • Development
    • Version history
    • QGIS2Mapbender Plugin
  • Deutsch
Mapbender
  • Welcome to the Mapbender documentation
  • Elements
  • Other
  • Copyright
  • Edit on GitHub

Copyright¶

The copyright element can be used to show simple text or HTML in a window dialog. It can be opened automatically on application start. It is also possible to integrate links and images into the window (see HTML).

../../../_images/copyright1.png

Configuration¶

../../../_images/copyright_configuration1.png
  • Open automatically: Enable or disable autoopening of the copyright window while starting the application (default: off).

  • Title: Title of the element. It will be indicated next to the button.

  • Dialog width: Width of the Popup window (default: 300).

  • Dialog height: Height of the Popup window (default: 170).

  • Content: Content of the copyright window, displayed when clicking on the button (or autoopened by starting the application, if enabled).

Refer to a twig file¶

You can refer to a twig file in the Content area. Please note that the twig file has to contain valid HTML.

../../../_images/copyright_configuration_include_twig1.png

YAML-Definition¶

This template can be used to insert the element into a YAML application.

class: Mapbender\CoreBundle\Element\Copyright
title: "Copyright"              # Title of the element
popupWidth: 300
popupHeight: 170
tooltip: "Copyright"            # Text to use as tooltip
content: "Lorem ipsum"          # Edit the text you want to display as copyright text
autoOpen: true                  # Automatically open the dialog when you start the application
Previous Next

© Copyright 2024, The Mapbender Team.

Built with Sphinx using a theme provided by Read the Docs.