Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - buekliev

Pages: [1]
1
Developers / Next way point API fields request
« on: March 02, 2015, 11:12:11 »
Hi,
I am trying to send some data to my Pebble watch thru companion andoid app which I made from your add-on example app http://docs.locusmap.eu/doku.php?id=manual:locus_api:installation.
The main purpose is to let the user know where to go and how far the way point is, but it will be great to get the same info about the next way point (in case current is not the last one). For that matter would be useful to add a few new fields to the guiding part of the API:
  • Is there next point or perhaps the current way point index from the end, so if it equals 0 means it is the last one
  • course (bearing and/or azimuth) to the next way point from the position of the active way point
  • course (bearing and/or azimuth) to the next way point from the current position
  • distance to the next way point from the position of the active way point
  • distance to the next way point from the current position

From the part of your code I get that fields used in the API are derived from constants related to the guiding part from 1400 to 1409, I can try other values too but it will be better if you say if there is such interface at all.

Hope I didn't duplicate someone's request and there is a chance of implementing it.

Thanks in advance.

Pages: [1]