From 65ac272832560881adc22c555510f8dfa639bc99 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 9 Sep 2023 15:23:46 +0100 Subject: [PATCH] Fix typo --- editions/geospatialdemo/tiddlers/Markers.tid | 2 +- plugins/tiddlywiki/geospatial/docs/geolocation.tid | 5 ++--- plugins/tiddlywiki/geospatial/startup.js | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/editions/geospatialdemo/tiddlers/Markers.tid b/editions/geospatialdemo/tiddlers/Markers.tid index b171e5500..13d43fb84 100644 --- a/editions/geospatialdemo/tiddlers/Markers.tid +++ b/editions/geospatialdemo/tiddlers/Markers.tid @@ -12,7 +12,7 @@ tags: $:/tags/GeospatialDemo long=<> alt=<> accuracy=<> - altitudeAccurary=<> + altitudeAccuracy=<> heading=<> speed=<> /> diff --git a/plugins/tiddlywiki/geospatial/docs/geolocation.tid b/plugins/tiddlywiki/geospatial/docs/geolocation.tid index 068b91e0b..d70e97377 100644 --- a/plugins/tiddlywiki/geospatial/docs/geolocation.tid +++ b/plugins/tiddlywiki/geospatial/docs/geolocation.tid @@ -23,7 +23,7 @@ The following variables are made available to the action strings passed in the ' |''longitude'' |The longitude of the position in decimal degrees | |''altitude'' |The altitude of the position in meters, relative to sea level. This value can be null if the implementation cannot provide the data | |''accuracy'' |A number representing the accuracy of the latitude and longitude properties, expressed in meters | -|''altitudeAccurary'' |A number representing the accuracy of the altitude expressed in meters. This value can be null | +|''altitudeAccuracy'' |A number representing the accuracy of the altitude expressed in meters. This value can be null | |''heading'' |A number representing the direction towards which the device is facing. This value, specified in degrees, indicates how far off from heading true north the device is. 0 degrees represents true north, and the direction is determined clockwise (which means that east is 90 degrees and west is 270 degrees). If speed is 0, heading is NaN. If the device is unable to provide heading information, this value is null | |''speed'' |A number representing the velocity of the device in meters per second. This value can be null | @@ -53,7 +53,7 @@ The following variables are made available to the action strings passed in the ' long=<> alt=<> accuracy=<> - altitudeAccurary=<> + altitudeAccuracy=<> heading=<> speed=<> /> @@ -86,7 +86,6 @@ The following variables are made available to the action strings passed in the ' <$geolayer lat={{!!lat}} long={{!!long}} alt={{!!alt}} color={{!!color}}/> -/> """/> <$data $tiddler="$:/plugins/tiddlywiki/geospatial"/> diff --git a/plugins/tiddlywiki/geospatial/startup.js b/plugins/tiddlywiki/geospatial/startup.js index 12e2abd84..1b76e9949 100644 --- a/plugins/tiddlywiki/geospatial/startup.js +++ b/plugins/tiddlywiki/geospatial/startup.js @@ -56,7 +56,7 @@ exports.startup = function() { longitude: "" + pos.coords.longitude, altitude: "" + pos.coords.altitude, accuracy: "" + pos.coords.accuracy, - altitudeAccurary: "" + pos.coords.altitudeAccurary, + altitudeAccuracy: "" + pos.coords.altitudeAccuracy, heading: "" + pos.coords.heading, speed: "" + pos.coords.speed },{parentWidget: $tw.rootWidget});