1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-21 12:53:15 +00:00

Clarify docs for tm-request-location

This commit is contained in:
Jeremy Ruston 2024-05-31 10:40:18 +01:00
parent b0c5f1b547
commit 754fb6e76b
2 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,9 @@ tags: $:/tags/GeospatialDemo
This is a list of all the tiddlers containing ~GeoJSON markers in this wiki (identified by the tag <<tag "$:/tags/GeoMarker">>). A ~GeoJSON marker identifies a location via latitude and longitude (and optional altitude) and may also contain associated metadata in JSON format.
Click this button to create a marker from the current location: <$button actions=<<onclick>>>
Click this button to create a marker from the current location. Your browser will ask for permission before granting the request. On some browsers it takes a couple of seconds for the location to appear.
<$button actions=<<onclick>>>
Request location
</$button>

View File

@ -75,6 +75,7 @@ The following variables are made available to the action strings passed in the '
<$button actions=<<onclick>> style="background: red; color: white; font-size: 18pt;">
Click this button to request current location
</$button>
Your browser will ask for permission before granting the request. On some system it may take a couple of seconds for the location to appear.
<hr>
{{CurrentLocation}}
{{CurrentLocation||$:/core/ui/TiddlerFields}}