README.md: Whitespace fixes

This commit is contained in:
Martin Rubli
2025-04-09 22:03:08 +02:00
parent 92468ccc75
commit c7bfee6f1d

View File

@@ -32,17 +32,11 @@ The current shortcode documentation is contained at the top of [leaflet-map.html
```go-html-template ```go-html-template
{{< leaflet-map centerLat=FLOAT centerLon=FLOAT zoom=INT width="STRING" height="STRING" resizable=BOOL maximizable=BOOL freezable=BOOL freezeOptions="STRING" >}} {{< leaflet-map centerLat=FLOAT centerLon=FLOAT zoom=INT width="STRING" height="STRING" resizable=BOOL maximizable=BOOL freezable=BOOL freezeOptions="STRING" >}}
{{< leaflet-layer id="STRING" apiKey="STRING" >}} {{< leaflet-layer id="STRING" apiKey="STRING" >}}
{{< leaflet-marker lat=FLOAT lon=FLOAT >}} {{< leaflet-marker lat=FLOAT lon=FLOAT >}}
{{< leaflet-track path="URL" title="STRING" downloadable=BOOL >}} {{< leaflet-track path="URL" title="STRING" downloadable=BOOL >}}
{{< leaflet-scale >}} {{< leaflet-scale >}}
{{< leaflet-elevation-profile expanded=BOOL resizable=BOOL width=INT height=INT minWidth=INT minHeight=INT maxWidth=INT maxHeight=INT >}} {{< leaflet-elevation-profile expanded=BOOL resizable=BOOL width=INT height=INT minWidth=INT minHeight=INT maxWidth=INT maxHeight=INT >}}
{{< /leaflet-map >}} {{< /leaflet-map >}}
``` ```
@@ -106,8 +100,7 @@ id:
https://map.geo.admin.ch/?topic=swisstopo&bgLayer=ch.swisstopo.pixelkarte-farbe&lang=en&layers=ch.swisstopo-karto.schneeschuhrouten&layers_opacity=0.8 https://map.geo.admin.ch/?topic=swisstopo&bgLayer=ch.swisstopo.pixelkarte-farbe&lang=en&layers=ch.swisstopo-karto.schneeschuhrouten&layers_opacity=0.8
Notes: Notes:
① API key required. ① API key required.
② Uses EPSG-2056 (Swiss CH1903+/LV95) projection. Cannot be combined with EPSG3857 ② Uses EPSG-2056 (Swiss CH1903+/LV95) projection. Cannot be combined with EPSG3857 (WGS 84) map layers.
(WGS 84) map layers.
apiKey: apiKey:
API key for tile access. API key for tile access.
selectorPosition: selectorPosition: