Applications support displaying a cookie banner which is customized via the Mapbender configuration file
parameters.yml. We use the code from Cookie Consent without making an additional call to the internet.
The banner is displayed in any application on the first run.
After this banner is dismissed it doesn’t appear again until you have deleted the cookie in your web browser. Mapbender depends on cookies and stores its PHP-session there.
Configuration takes place in the
parameters.yml file under
app/config/parameters.yml and accounts for the whole Mapbender instance. Please add the parameter
mapbender.cookieconsent: with the value
false. If the parameter is missing or the value is set to
false, the banner will not be displayed in your applications.
#Mapbender Cookie Consent Message mapbender.cookieconsent: true
After changing these parameters you have to clean the contents of the cache-directory (