1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 01:50:28 +00:00

Improve handling of tiddlers created from travel time and intersections

This commit is contained in:
jeremy@jermolene.com 2023-01-06 10:49:45 +00:00
parent a890096eec
commit 80a8ede626
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ title: $:/plugins/tiddlywiki/geospatial/demo/ui/geolayer
!! Intersect with other layers !! Intersect with other layers
<$let <$let
captionThisLayer={{!!caption}} captionThisLayer={{{ [<currentTiddler>get[caption]else<currentTiddler>] }}}
> >
<ul> <ul>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/GeoLayer]sort[caption]] -[<currentTiddler>]" variable="otherLayer"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/GeoLayer]sort[caption]] -[<currentTiddler>]" variable="otherLayer">

View File

@ -8,7 +8,7 @@ title: $:/plugins/tiddlywiki/geospatial/demo/ui/geomarker
<$action-setfield $tiddler="$:/temp/_Result" text=<<data>>/> <$action-setfield $tiddler="$:/temp/_Result" text=<<data>>/>
<$action-setfield $tiddler="$:/temp/_Headers" text=<<headers>>/> <$action-setfield $tiddler="$:/temp/_Headers" text=<<headers>>/>
<$list filter="[<status>compare:number:gteq[200]compare:number:lteq[299]]" variable="ignore"> <$list filter="[<status>compare:number:gteq[200]compare:number:lteq[299]]" variable="ignore">
<$action-setfield $tiddler="$:/temp/_IsochroneLayer" text={{{ [<data>] }}} tags="$:/tags/GeoLayer"/> <$action-createtiddler $basetitle="$:/temp/_IsochroneLayer" text={{{ [<data>] }}} tags="$:/tags/GeoLayer" caption={{{ [<currentTiddler>get[caption]else<currentTiddler>addprefix[Travel time from ]] }}}/>
</$list> </$list>
\end \end