Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:help:v2:intents [2022/08/05 11:32] alpinequesten:help:v2:intents [2024/01/23 19:00] psyberia
Line 1: Line 1:
-<sub>[[en:help|Online Help]] > [[en:help:v2|AlpineQuest 2.x]] > Intents</sub>+<sub>[[en:help:v2|Online Help]] > Intents</sub>
  
 ====== Intents ====== ====== Intents ======
Line 25: Line 25:
 | net.psyberia.intent.extra.ELEVATION  | Double  | WGS84 elevation (meters).  | | net.psyberia.intent.extra.ELEVATION  | Double  | WGS84 elevation (meters).  |
 | net.psyberia.intent.extra.HEADING  | Double  | Heading of movement (degrees).  | | net.psyberia.intent.extra.HEADING  | Double  | Heading of movement (degrees).  |
 +| net.psyberia.intent.extra.TIMESTAMP  | Double  | Unix timestamp in seconds, instead of current date. Set to ''"0.0"'' for no date.  |
 | net.psyberia.intent.extra.NAME  | String  | name of the point (ignored if using a track ID).  | | net.psyberia.intent.extra.NAME  | String  | name of the point (ignored if using a track ID).  |
 | net.psyberia.intent.extra.COMMENT  | String  | comment of the point (ignored if using a track ID).  | | net.psyberia.intent.extra.COMMENT  | String  | comment of the point (ignored if using a track ID).  |
Line 34: Line 35:
 - Block type: ''App start''\\ - Block type: ''App start''\\
 - Action: ''"net.psyberia.intent.action.DISPLAY_LOCATION"''\\ - Action: ''"net.psyberia.intent.action.DISPLAY_LOCATION"''\\
-- Extras: ''{"net.psyberia.intent.extra.LONGITUDE": -0.1, "net.psyberia.intent.extra.LATITUDE": 54.5, "net.psyberia.intent.extra.NAME": "Test", "net.psyberia.intent.extra.ICON": "Car"}''+- Extras: ''{"net.psyberia.intent.extra.LONGITUDE": -0.1, "net.psyberia.intent.extra.LATITUDE": 54.5, "net.psyberia.intent.extra.NAME": "Test", "net.psyberia.intent.extra.ICON": "Car", "net.psyberia.intent.extra.MOVE_TO" as boolean: 0}''
  
 \\ \\
Line 42: Line 43:
 Displays or searches a location. Displays or searches a location.
  
-^ Supported formats examples  ^+^ Supported formats example  ^
 | geo:{lat},{lon}  | | geo:{lat},{lon}  |
 | geo:{lat},{lon}({name})  | | geo:{lat},{lon}({name})  |
Line 49: Line 50:
 | geo:0,0?q={lat},{lon}({name})  | | geo:0,0?q={lat},{lon}({name})  |
 | geo:0,0?q={address}  | | geo:0,0?q={address}  |
 +
 +Some example:
 +<html><br />
 +<a href="geo:38.8894716,-77.0352538">geo:38.8894716,-77.0352538</a><br />
 +<a href="geo:38.8894716,-77.0352538;name=Washington+Monument">geo:38.8894716,-77.0352538;name=Washington+Monument</a><br />
 +<a href="geo:38.8894716,-77.0352538(Washington+Monument)">geo:38.8894716,-77.0352538(Washington+Monument)</a><br />
 +<a href="geo:323482,4306480;crs=EPSG:32618;u=20">geo:323482,4306480;crs=EPSG:32618;u=20</a><br />
 +<a href="geo:18S+323482+4306480;crs=utm">geo:18S+323482+4306480;crs=utm</a><br />
 +</html>
  
 \\ \\
Line 89: Line 99:
 | elevation  | Double  | WGS84 elevation (meters).  | | elevation  | Double  | WGS84 elevation (meters).  |
 | heading  | Double  | Heading of movement (degrees).  | | heading  | Double  | Heading of movement (degrees).  |
 +| timestamp  | Double  | Unix timestamp in seconds, instead of current date. Set to ''"0.0"'' for no date.  |
 | name  | String  | name of the point (ignored if using a track ID).  | | name  | String  | name of the point (ignored if using a track ID).  |
 | comment  | String  | comment of the point (ignored if using a track ID).  | | comment  | String  | comment of the point (ignored if using a track ID).  |
Line 100: Line 111:
 - Activity class: ''psyberia.alpinequest.full.AlpineQuestActivity''\\ - Activity class: ''psyberia.alpinequest.full.AlpineQuestActivity''\\
 - Action: ''"DISPLAY_LOCATION"''\\ - Action: ''"DISPLAY_LOCATION"''\\
-- Extras: ''{"longitude": -0.1, "latitude": 54.5, "name": "Test", "icon": "Car"}''+- Extras: ''{"longitude": -0.1, "latitude": 54.5, "name": "Test", "icon": "Car", "move_to" as boolean: 0}''
  
 \\ \\