Skip to content

Commit a1f3304

Browse files
authored
Merge pull request #238 from gtt-project/feature/improve-docs
improve doc/getting-started.md
2 parents c134e25 + a07f13d commit a1f3304

5 files changed

+8
-6
lines changed
192 KB
Loading
-60.3 KB
Binary file not shown.
112 KB
Loading
968 KB
Loading

doc/getting-started.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,25 @@ Global settings can be specified in the plugin configuration `/settings/plugin/r
1010

1111
**Note:** Geocoder options missing. TBD.
1212

13-
## Tile Source
13+
## Map Layers
1414

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.
15+
At least one map layer 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.
1616

17-
![Tile Source](New%20Tile%20Source%20-%20Tile%20Sources%20-%20Redmine.png)
17+
![Map Layer](New%20Map%20Layer%20-%20Map%20Layers%20-%20Redmine.png)
1818

1919
### Example OSM base map
2020

21-
* **Type**: `ol.source.OSM`
22-
* **Options**:
21+
* **Layer type**: `Tile`
22+
* **Layer options string**: `{}`
23+
* **Source type**: `OSM`
24+
* **Source options string**:
2325

2426
```
2527
{
2628
"url": "https://tile.openstreetmap.jp/{z}/{x}/{y}.png",
2729
"custom": "19/34.74701/135.35740",
2830
"crossOrigin": null,
29-
"attributions": "<a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a>"
31+
"attributions": "<a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap contributors</a>"
3032
}
3133
```
3234

0 commit comments

Comments
 (0)