Anyone have sample code for getLocation() on the GPS

Trying to use getLocation() in code instead of having the gps independently poll and callback outside my main looping structure.

Does anyone have an simple code that uses the getLocation() function?

Are you asking about the imp006 GNSS library? getLocation only delivers data via the callback as getting a fix is an async operation.

Can you explain the issue you’re seeing?