Christoph Cullmann 2021-08-29 11:48:16 +02:00
parent f237551193
commit 0321812a29
57 changed files with 25676 additions and 4089 deletions

View file

@ -959,6 +959,10 @@ The `mapbox` shortcode has the following named parameters to use Mapbox GL JS:
Height of the map, default value is `20rem`.
- **properties** _[optional]_
GeoJSON sources and the layers of the map.
Example simple `mapbox` input:
```markdown
@ -983,6 +987,16 @@ The rendered output looks like this:
{{< mapbox -122.252 37.453 10 false "mapbox://styles/mapbox/navigation-preview-day-v4?optimize=true" "mapbox://styles/mapbox/navigation-preview-night-v4?optimize=true" >}}
Example `mapbox` input with the GetJSON data:
```markdown
{{</* mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" */>}}
```
The rendered output looks like this:
{{< mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" >}}
## 8 music
The `music` shortcode embeds a responsive music player based on [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS).