Nuevo plugin Additionals 2.0.20

This commit is contained in:
Manuel Cillero 2019-06-16 12:53:09 +02:00
parent a2a901b71b
commit 93e1e28683
354 changed files with 40514 additions and 0 deletions

View file

@ -0,0 +1,33 @@
Google Map
----------
Google map wiki macro for Redmine to implement a street map. There are various configuration options for presenting the GMap.
.. function:: {{gmap([q=QUERY, mode=MODE, width=WIDTH, height=HEIGHT])}}
Show Google map
:param string q: query, e.g. a city or location
:param string mode: place, directions, search, view oder streetview (default: search)
:param int width: widget width
:param int height: widget height
Scope
+++++
This macro works in all text fields with formatting support.
Examples
++++++++
The simplest way is to show a widget for Munich with ``Munich``
.. code-block:: smarty
{{gmap(Munich)}}
Another option is to show a widget for direction for example from Munich to Arco (Italy)
.. code-block:: smarty
{{gmap(mode=directions, origin=Munich+Implerstr, destination=Arco)}}