|
| 1 | +# Getting Started with GTT plugin |
| 2 | + |
| 3 | +The following is a brief overview of the most important settings of the GTT plugin. |
| 4 | + |
| 5 | +## Plugin Settings |
| 6 | + |
| 7 | +Global settings can be specified in the plugin configuration `/settings/plugin/redmine_gtt`: |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +**Note:** Geocoder options missing. TBD. |
| 12 | + |
| 13 | +## Tile Source |
| 14 | + |
| 15 | +At least one tile source needs to be configured to be used as a base map. The GTT plugin uses [OpenLayers](https://openlayers.org/) and accepts common OpenLayers layer types and layer options. |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +### Example OSM base map |
| 20 | + |
| 21 | +* **Type**: `ol.source.OSM` |
| 22 | +* **Options**: |
| 23 | + |
| 24 | +``` |
| 25 | +{ |
| 26 | + "url": "https://tile.openstreetmap.jp/{z}/{x}/{y}.png", |
| 27 | + "custom": "19/34.74701/135.35740", |
| 28 | + "crossOrigin": null, |
| 29 | + "attributions": "<a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a>" |
| 30 | +} |
| 31 | +``` |
| 32 | + |
| 33 | +## My Account |
| 34 | + |
| 35 | +A user can set their own location on the user page `/my/account`: |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +## Project Settings |
| 40 | + |
| 41 | +To use GTT in a project the `GTT` module must be enabled `/projects/new`: |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +In the `GTT` tab of the project settings the project boundaries can be specified as a polygon: |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +## Creating Issues |
| 50 | + |
| 51 | +Create an issue with a location as `point`, `line` or `polygon`: |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +Changes to an issue, including geometry updates, are available in the issue history: |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | +All issues can be displayed on the projects issues list together with a map: |
| 60 | + |
| 61 | + |
0 commit comments