Nuevo plugin Additionals 2.0.20
This commit is contained in:
parent
a2a901b71b
commit
93e1e28683
354 changed files with 40514 additions and 0 deletions
33
plugins/additionals/docs/macros/gmap.rst
Executable file
33
plugins/additionals/docs/macros/gmap.rst
Executable 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)}}
|
Loading…
Add table
Add a link
Reference in a new issue