Locus Api - getTargetAzim

Started by zigzag, March 27, 2017, 21:26:11

0 Members and 1 Guest are viewing this topic.

zigzag

Hello,

I'm not sure, how it works.
I use the getTargetAzim() function in the AddonPebble app to show an arrow the direction on the Pebble watch.

When I try it I realized:

- Guide on: direction to the destination point,
lastUpdate.getGuideTypeWaypoint().getTargetAzim()

- Navigate to: direction to the action point,
lastUpdate.getGuideTypeTrack().getTargetAzim()

- Guidance (guidance along the track): direction to the next track point.
lastUpdate.getGuideTypeTrack().getTargetAzim()

Is it true?
http://forum.locusmap.eu/index.php?topic=5096.msg47029#msg47029

Thanks
  •  

Menion

Hello zigzag,
this is quite good question. I think that in these values is quite big mess!

So wait please to next Locus Map version. Distance and azim in navigation/guidance mode should be logically values to next active target. So in case of navigation, it should be current waypoint with navigation order, in case of guidance without waypoints, it should be point where guidance arrow/line point.

Will be improved in next version of Locus Map. Maybe it still won't be perfect. Feel free to give me more info in such case, thanks.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •