Add geolookup operator

This commit is contained in:
jeremy@jermolene.com
2023-03-06 14:06:16 +00:00
parent 17ebeaf725
commit bb5489b31e
4 changed files with 128 additions and 0 deletions

View File

@@ -87,6 +87,21 @@ title: $:/plugins/tiddlywiki/geospatial/demo/ui/geomarker
</ul>
</$let>
!! GeoLayer Lookups
<$let
thisLocation={{{ [geopoint{!!long},{!!lat}] }}}
>
<ul>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/GeoLayer]sort[caption]]">
<li>
<$text text={{{ [<currentTiddler>get[caption]] :else[<currentTiddler>] }}}/> --
<$text text={{{ [<thisLocation>geolookup{!!text}] }}}/>
</li>
</$list>
</ul>
</$let>
!! Travel Time
<$button actions=<<get-traveltime-actions>>>