mirror of
https://gitlab.com/mrubli/hugo-mod-leaflet.git
synced 2025-10-07 01:54:24 +00:00
README.md: Whitespace fixes
This commit is contained in:
@@ -32,17 +32,11 @@ The current shortcode documentation is contained at the top of [leaflet-map.html
|
||||
|
||||
```go-html-template
|
||||
{{< 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-marker lat=FLOAT lon=FLOAT >}}
|
||||
|
||||
{{< leaflet-track path="URL" title="STRING" downloadable=BOOL >}}
|
||||
|
||||
{{< leaflet-scale >}}
|
||||
|
||||
{{< leaflet-elevation-profile expanded=BOOL resizable=BOOL width=INT height=INT minWidth=INT minHeight=INT maxWidth=INT maxHeight=INT >}}
|
||||
|
||||
{{< /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
|
||||
Notes:
|
||||
① API key required.
|
||||
② Uses EPSG-2056 (Swiss CH1903+/LV95) projection. Cannot be combined with EPSG3857
|
||||
(WGS 84) map layers.
|
||||
② Uses EPSG-2056 (Swiss CH1903+/LV95) projection. Cannot be combined with EPSG3857 (WGS 84) map layers.
|
||||
apiKey:
|
||||
API key for tile access.
|
||||
selectorPosition:
|
||||
|
Reference in New Issue
Block a user