From 8525f00af0c6de806232100e5f582b30e2d72e62 Mon Sep 17 00:00:00 2001 From: Martin Rubli Date: Fri, 26 Apr 2024 15:10:48 +0200 Subject: [PATCH] layouts: map: Document track options 'color' and 'opacity' --- layouts/shortcodes/leaflet-map.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/shortcodes/leaflet-map.html b/layouts/shortcodes/leaflet-map.html index a167854..4e67fd3 100644 --- a/layouts/shortcodes/leaflet-map.html +++ b/layouts/shortcodes/leaflet-map.html @@ -92,6 +92,12 @@ Track options: Absolute or relative path of the .gpx file to render as a track. title: Name of the track, used e.g. to render the 'Download GPX' button when multiple tracks are present. + color: + Color to use for rendering the track. + Optional, defaults to DeepPink. + opacity: + Opacity to use for rendering the track. + Optional, defaults to 0.7. downloadable: Boolean value indicating whether there should be a 'Download GPX' button for this track. Optional, defaults to true.