https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/GeneralConventions/FileStructure.html#includes-rst-txt

IsRequestToMapProviderAllowedViewHelper

Use this ViewHelper to check user consent, if requests to map providers like Google Maps or OpenStreetMap are allowed or not.

Examples

Basic example

<f:if condition="{m:isRequestToMapProviderAllowed()}">
  <f:then>
    ...do something to show the map or what ever you want...
  </f:then>
  <f:else>
    ...show overlay or add a message what user should do to see the map...
  </f:else>
</f:if>