mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +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
|
||||
|
||||
<$let
|
||||
thisLocation={{{ [geopoint{!!lat},{!!long}] }}}
|
||||
thisLocation={{{ [geopoint{!!long},{!!lat}] }}}
|
||||
>
|
||||
<ul>
|
||||
<$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>
|
||||
--
|
||||
<$let
|
||||
otherLocation={{{ [geopoint{!!lat},{!!long}] }}}
|
||||
otherLocation={{{ [geopoint{!!long},{!!lat}] }}}
|
||||
>
|
||||
<$text text={{{ [geodistance<thisLocation>,<otherLocation>,[miles]fixed[0]] }}}/> miles
|
||||
</$let>
|
||||
|
Loading…
Reference in New Issue
Block a user