title: GeoMarkers tags: $:/tags/GeospatialDemo \procedure onsuccess() <$action-setfield $tiddler="CurrentLocation" tags="$:/tags/GeoMarker" timestamp=<> lat=<> long=<> alt=<> accuracy=<> altitudeAccuracy=<> heading=<> speed=<> /> \end \procedure onerror() <$action-setfield $tiddler="CurrentLocation" $field="text" $value=<> /> \end \procedure onclick() <$action-sendmessage $message="tm-request-geolocation" actionsSuccess=<> actionsError=<> /> \end This is a list of all the tiddlers containing ~GeoJSON markers in this wiki (identified by the tag <>). 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. 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=<>> Request location {{CurrentLocation}}
    <$list filter="[all[shadows+tiddlers]tag[$:/tags/GeoMarker]sort[caption]]">
  • <$link> <$view field="caption"><$view field="title"/>