Hi Garmin Connect IQ developers,
I'm developing a navigation Data Field for the Forerunner 165 using Connect IQ SDK 9.2.0.
The goal is to display navigation guidance from a Garmin Course that the user imports through Garmin Connect and starts using the watch's native navigation.
I'm reading these properties from Activity.Info inside compute(info):
-
distanceToNextPoint -
nameOfNextPoint -
distanceToDestination -
offCourseDistance
All four properties are supported for the Forerunner 165 according to the SDK documentation.
However, when I use Simulation → Set Navigation Data, enter values for the next point and destination, and start the simulated activity, all four properties remain null.
I'd appreciate clarification on three questions:
-
Is there a specific procedure to make simulated navigation data available to a Data Field?
-
When navigating an active Garmin Course, can a Data Field access the next turn direction (left/right), or only the next point's name and distance?
-
Is there any supported API for a Data Field to access the active Course's route geometry or coordinates?
I'd like to use Garmin's native Course workflow without requiring users to import their route a second time.
Thanks for your help!