Hi,
I'm currently looking for a method to get all named GpsPoints in a Database loaded via the Gps instance.
Is there currently a way/method to get all these named points?
This would be very helpful, so that i don't have hardcode all available points inside the source code and it would greatly increase the re-usability of some of my code.
I could do it if i fiddle around with System.Data.SQLite myself, but why connect to a DB which has already been connected by the running app.
Or can i access the Gps.DB somehow?
Would be realy nice to set point names in the GPSEditor like "warehouse_mail1", "warehouse_mail2", "merchant1", etc. so i could then calculate distances to the nearest warehouse for example.
If there is currently no way to access these points i would suggest the following method to the Gps Class:
List<string> Gps.GetAllNamedPoints() //returns all names of named points
List<string> Gps.GetAllNamedPoints(string search) // returns all names of named points, which contain the argument string (e.g. "merchant" would return "merchant1", "blacksmith_merchant25", etc.)
That would be realy nice.
Thank you very much and keep up the good work!
I'm currently looking for a method to get all named GpsPoints in a Database loaded via the Gps instance.
Is there currently a way/method to get all these named points?
This would be very helpful, so that i don't have hardcode all available points inside the source code and it would greatly increase the re-usability of some of my code.
I could do it if i fiddle around with System.Data.SQLite myself, but why connect to a DB which has already been connected by the running app.
Or can i access the Gps.DB somehow?
Would be realy nice to set point names in the GPSEditor like "warehouse_mail1", "warehouse_mail2", "merchant1", etc. so i could then calculate distances to the nearest warehouse for example.
If there is currently no way to access these points i would suggest the following method to the Gps Class:
List<string> Gps.GetAllNamedPoints() //returns all names of named points
List<string> Gps.GetAllNamedPoints(string search) // returns all names of named points, which contain the argument string (e.g. "merchant" would return "merchant1", "blacksmith_merchant25", etc.)
That would be realy nice.

Thank you very much and keep up the good work!