Skip to content

Commit

Permalink
Merge pull request #14 from cazitouni/patch-1
Browse files Browse the repository at this point in the history
Update MVT documentation
  • Loading branch information
manisandro authored Jan 5, 2024
2 parents b0cce69 + 195ebba commit 449b2e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/configuration/ThemesConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,13 +402,14 @@ Some minimal examples of supported background layers:
}
```

* *VectorTiles*: (note: if the tile projection is not `EPSG:3857`, you need to specifiy `projection` and `tileGridConfig`)
* *VectorTiles*: (note: if the tile projection is not `EPSG:3857`, you need to specifiy `projection` and `tileGridConfig`. If labels are cropped you could also set `declutter` to `true`)
```json
{
"name": "mvt_example",
"type": "mvt",
"url": "http://foobar.baz/tileset/{z}/{x}/{y}.pbf",
"style": "http://foobar.baz/style.json",
"declutter": false,
"projection": "EPSG:XXXX",
"tileGridConfig": {
"origin": [<x>, <y>],
Expand Down

0 comments on commit 449b2e1

Please sign in to comment.