1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-06 20:14:22 +00:00
TiddlyWiki5/plugins/tiddlywiki/geospatial/docs/olc-encode.tid
jeremy@jermolene.com 683ec33004 Refactor compound tiddler handling into data widget
And add some tests for the data widget
2023-04-17 11:13:35 +01:00

14 lines
537 B
Plaintext

title: $:/plugins/tiddlywiki/geospatial/docs/olc-encode
caption: olc-encode operator
tags: $:/tags/GeospatialDocs
!! `olc-encode` operator
The `old-encode` operator converts separate latitude and longitude numbers into an [[OpenLocationCode|https://github.com/google/open-location-code]] shortcut code with a specified length (defaults to 11 characters).
!! Examples
<$testcase>
<$data $compound-tiddler="$:/plugins/tiddlywiki/geospatial/tests/operators/olc-encode"/>
<$data $tiddler="$:/plugins/tiddlywiki/geospatial"/>
</$testcase>