Skip to content

Commit

Permalink
Merge pull request #115 from bobosch/prepare-release-4-1-2
Browse files Browse the repository at this point in the history
Enhance the documentation
  • Loading branch information
albig authored Dec 6, 2022
2 parents 681b7ac + 908f588 commit bd265e3
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 13 deletions.
56 changes: 47 additions & 9 deletions Documentation/Administrators/Index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
==============
Administration
==============

In the extension configuration
Extension Configuration
=======================

Some global settings of the extension may be configured in `Settings -> Extension Configuration -> ods_osm`.

Screenshot
----------

.. figure:: /Images/ExtensionConfiguration.png
:class: with-shadow
:alt: Screenshot with first part of the ods_osm settings in the extension configuration

Screenshot of the ods_osm Extension Configuration

.. image:: ../Images/ExtensionConfiguration.png
Reference
---------

+----------------------------+------------------------------------------------+-------------+
| Option | Description | Default |
Expand All @@ -19,19 +33,43 @@ In the extension configuration
| | “city” and “country” of every address record | |
| | you save is sent to the provider. | |
+----------------------------+------------------------------------------------+-------------+
| Contact email address | Enter a contact email address for the service | |
| Geo service contact email | Enter a contact email address for the service | |
| | provider here. If not specified, email address | |
| | of server admin is used. | |
+----------------------------+------------------------------------------------+-------------+
| Geo service user name | The GeoNames service requires a username | |
+----------------------------+------------------------------------------------+-------------+
| Default country | Two letter countrycode used in search if no | DE |
| | country is specified. | |
+----------------------------+------------------------------------------------+-------------+
| Enable address search cache| The result of the geo service is stored in | 1 |
| | tx_odsosm_geocache if activated. | |
+----------------------------+------------------------------------------------+-------------+
| Use local javascripts and | Activate this if you don't like to use the | 1 |
| images | javascript files from CDNs but the local ones | |
| | from this extension. | |
+----------------------------+------------------------------------------------+-------------+
| Default longitude | | 10.41 |
+----------------------------+------------------------------------------------+-------------+
| Default latitude | | 51.27 |
+----------------------------+------------------------------------------------+-------------+
| Default zoom | | 8 |
+----------------------------+------------------------------------------------+-------------+


TypoScript Configuration
========================

There is a function to mass gecode addresses in the functions menu.
It is mandatory to include the ods_osm TypoScript template "Template OpenStreetMap".
This template sets some default values for the ods_osm plugin. The defaults may be configured
with the TypoScript Constant Editor.

With these TypoScript defaults, the editor does not need to make a detailed configuration of the
ods_osm plugin. Selecting the wanted marker is suffician.

The dimenions of the map, the right JavaScript library and zoom level are set by the defaults.
But editors may set and overwrite the defaults in the plugin settings.

Configuration
=============

Reference
---------
Expand Down Expand Up @@ -153,7 +191,7 @@ Examples
Markers
```````

::
.. code-block:: typoscript
plugin.tx_odsosm_pi1 {
marker {
Expand All @@ -169,7 +207,7 @@ Markers
Popups
``````

::
.. code-block:: typoscript
plugin.tx_odsosm_pi1 {
popup {
Expand Down Expand Up @@ -199,7 +237,7 @@ Popups
Icon Property
`````````````

::
.. code-block:: typoscript
plugin.tx_odsosm_pi1 {
icon {
Expand Down
Binary file modified Documentation/Images/ExtensionConfiguration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions Documentation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

.. _Start:

==================
EXT: OpenStreetMap
==================
============================
EXT: ods_osm (OpenStreetMap)
============================

:Author: Robert Heel <[email protected]>
:License: GPL 3.0
Expand All @@ -22,4 +22,3 @@ EXT: OpenStreetMap
Editors/Index
Administrators/Index
Tutorial/Index
Conribution/Index

0 comments on commit bd265e3

Please sign in to comment.