Hi,
I can´t seem to figure out how to create a PolyLine object from a course stored on the device while this seems the most basic use of the PolyLine class.
What I tried:
- You can create an empty PolyLine and then add locations 1 by 1
- But there seems to be no way to access the locations for any stored course. You only can get the name and the ID but actually not do anything useful with it. I don´t get what these persistence API is for. What would I want with an "Id" if I can´t even read the contents of a stored item (e.g. the locations of a course to create a PolyLine to be rendered on a MapView)
And then I wonder: If locations can´t be accessed, how would anyone make use of PolyLine at all past simple programming demos showing the hardcoded location of demo-guys own office?
And given all that open questions above I wonder how Garmin could program all their default navigations apps? Obviously not by using their own SDK, or?
Sorry for my frustration. But either I am missing something very basic or this whole SDK doesn`t make a lot of sense :(