mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-26 00:46:52 +00:00
Fix lat long transposition
This commit is contained in:
parent
e051b2dbcf
commit
9ab2623629
@ -70,7 +70,7 @@ title: $:/plugins/tiddlywiki/geospatial/demo/ui/geomarker
|
|||||||
!! Distance to other markers
|
!! Distance to other markers
|
||||||
|
|
||||||
<$let
|
<$let
|
||||||
thisLocation={{{ [geopoint{!!lat},{!!long}] }}}
|
thisLocation={{{ [geopoint{!!long},{!!lat}] }}}
|
||||||
>
|
>
|
||||||
<ul>
|
<ul>
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/GeoMarker]sort[caption]] -[<currentTiddler>]">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/GeoMarker]sort[caption]] -[<currentTiddler>]">
|
||||||
@ -78,7 +78,7 @@ title: $:/plugins/tiddlywiki/geospatial/demo/ui/geomarker
|
|||||||
<$link><$view field="caption"><$view field="title"/></$view></$link>
|
<$link><$view field="caption"><$view field="title"/></$view></$link>
|
||||||
--
|
--
|
||||||
<$let
|
<$let
|
||||||
otherLocation={{{ [geopoint{!!lat},{!!long}] }}}
|
otherLocation={{{ [geopoint{!!long},{!!lat}] }}}
|
||||||
>
|
>
|
||||||
<$text text={{{ [geodistance<thisLocation>,<otherLocation>,[miles]fixed[0]] }}}/> miles
|
<$text text={{{ [geodistance<thisLocation>,<otherLocation>,[miles]fixed[0]] }}}/> miles
|
||||||
</$let>
|
</$let>
|
||||||
|
Loading…
Reference in New Issue
Block a user