1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-13 21:34:51 +00:00
TiddlyWiki5/plugins/tiddlywiki/geospatial/tests/operators/geopoint.tid
jeremy@jermolene.com 28a33df91d Add jsonset operator
2023-04-04 21:48:26 +01:00

17 lines
714 B
Plaintext

title: $:/plugins/tiddlywiki/geospatial/tests/operators/geopoint
description: geopoint operator
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
<$text text={{{ [geopoint[51.751944],[-1.257778]] }}}/>
<$text text={{{ [geopoint[51.751944],[-1.257778]jsonset[id],[Oxford]] }}}/>
<$text text={{{ [geopoint[51.751944],[-1.257778],[2]] }}}/>
+
title: ExpectedResult
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[51.751944,-1.257778,0]}}{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[51.751944,-1.257778,0]},"id":"Oxford"}{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[51.751944,-1.257778,2]}}