mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-02 09:06:46 +00:00
Integrate test cases with the docs
This commit is contained in:
@@ -6,8 +6,8 @@ tags: $:/tags/GeospatialDocs
|
||||
|
||||
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).
|
||||
|
||||
```
|
||||
[olc-encode[51.751944],[-1.257778]]
|
||||
[olc-encode[51.751944],[-1.257778],[11]]
|
||||
```
|
||||
!! Examples
|
||||
|
||||
<$testcase testcase-tiddler="$:/plugins/tiddlywiki/geospatial/tests/operators/olc-encode">
|
||||
<$data $tiddler="$:/plugins/tiddlywiki/geospatial"/>
|
||||
</$testcase>
|
||||
Reference in New Issue
Block a user