.. include:: /Includes.rst.txt
.. _viewhelper-request-uri-for-overlay:
==============================
RequestUriForOverlayViewHelper
==============================
This ViewHelper creates an URI with a special parameter which allows the map to
be visible for the user.
.. _viewhelper-request-uri-for-overlay-examples:
Examples
========
.. _viewhelper-request-uri-for-overlay-basic-example:
Basic example
-------------
.. code-block:: html
Link to current page. Map will be shown somewhere on that page.
.. _viewhelper-request-uri-for-overlay-scroll-to-content:
Scroll to content element
-------------------------
If you add `ttContentUid` to ViewHelper it will add a link section (#174)
to the end of the URI. If all of your content elements contain an `id` attribute
like `c174` the target page will scroll to this specific content element
directly.
.. code-block:: html
Link to current page and scroll to content element with map.