mirror of
https://gitlab.com/mrubli/hugo-mod-leaflet.git
synced 2025-10-07 01:54:24 +00:00
layouts: map: Add elevation profile option to not expand graph by default
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<script>
|
||||
map_options_{{ $uniqueMapId }}.heightgraph = {
|
||||
enabled: true,
|
||||
expanded: {{ .Get "expanded" | default "false" }},
|
||||
{{ with .Get "resizable" }}
|
||||
resizable: {{ . }},
|
||||
{{ end }}
|
||||
|
@@ -65,6 +65,9 @@ Elevation profile options:
|
||||
resizable:
|
||||
Boolean value indicating whether the elevation profile box should be drag & drop resizable.
|
||||
Optional, defaults to false.
|
||||
expanded:
|
||||
Boolean value indicating whether the elevation profile should be expanded by default.
|
||||
Optional, defaults to true.
|
||||
width:
|
||||
Width of the elevation profile.
|
||||
Optional, defaults to 360.
|
||||
|
Reference in New Issue
Block a user