From 80a8ede626b82f5b009cba9112ef5a17c121f843 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Fri, 6 Jan 2023 10:49:45 +0000 Subject: [PATCH] Improve handling of tiddlers created from travel time and intersections --- plugins/tiddlywiki/geospatial/demo/ui/geolayer.tid | 2 +- plugins/tiddlywiki/geospatial/demo/ui/geomarker.tid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tiddlywiki/geospatial/demo/ui/geolayer.tid b/plugins/tiddlywiki/geospatial/demo/ui/geolayer.tid index 4d59753d0..dfcc43a89 100644 --- a/plugins/tiddlywiki/geospatial/demo/ui/geolayer.tid +++ b/plugins/tiddlywiki/geospatial/demo/ui/geolayer.tid @@ -18,7 +18,7 @@ title: $:/plugins/tiddlywiki/geospatial/demo/ui/geolayer !! Intersect with other layers <$let - captionThisLayer={{!!caption}} + captionThisLayer={{{ [get[caption]else] }}} >
    <$list filter="[all[shadows+tiddlers]tag[$:/tags/GeoLayer]sort[caption]] -[]" variable="otherLayer"> diff --git a/plugins/tiddlywiki/geospatial/demo/ui/geomarker.tid b/plugins/tiddlywiki/geospatial/demo/ui/geomarker.tid index e6d7d45bf..33c94983c 100644 --- a/plugins/tiddlywiki/geospatial/demo/ui/geomarker.tid +++ b/plugins/tiddlywiki/geospatial/demo/ui/geomarker.tid @@ -8,7 +8,7 @@ title: $:/plugins/tiddlywiki/geospatial/demo/ui/geomarker <$action-setfield $tiddler="$:/temp/_Result" text=<>/> <$action-setfield $tiddler="$:/temp/_Headers" text=<>/> <$list filter="[compare:number:gteq[200]compare:number:lteq[299]]" variable="ignore"> -<$action-setfield $tiddler="$:/temp/_IsochroneLayer" text={{{ [] }}} tags="$:/tags/GeoLayer"/> +<$action-createtiddler $basetitle="$:/temp/_IsochroneLayer" text={{{ [] }}} tags="$:/tags/GeoLayer" caption={{{ [get[caption]elseaddprefix[Travel time from ]] }}}/> \end