I like to introduce my sample application that solves frequently ask questions like 'how to show the GPS position in a map', 'how to get free of cost maps' and 'how to prepare maps before going outdoor'. My solution is the use of Open Street Maps (OSM). Several kinds of maps are available and are continuously improved by many 1000 people. The scale goes from the whole earth to a single street. OSM are provided under 'Creative Common License' and can be freely used for personnel purpose.
I hope my sample program will inspire you to implement some improvements and provide it also in the B4P forum. Perhaps as new Open Source project? For example: improvements of the graphic, e.g. a nice feature would be a seamless scrolling from one map tile to the next. In the present version only one tile is shown and the change is very 'skippy'.
Short Description: The sample program works by default with the GPS Intermediate Driver. For older devices the item 'AutoGPS' in the .ini file has to be set to 'false', as well COM and Speed has to be adapted. After GPS and Internet connection are established the program downloads the proper Map Tile and shows the GPS position in it. You can zoom in and out by a simple click in the map. Map tiles are automatically stored. Stored tiles will be used next time much faster or when off-line. The tile storage should be in a SD card and may be shared with other programs. If required, change the default path or the Basic URL for the Map source in the .ini file. When GPS is switched off you can select a nearby tile by shift gesture at the map. A numeric menu is available to select Map tiles manually and for understanding how OSM tiles work. The source code includes basic infomations and a link.
Now, I am going to implement the OSM tiles 'App' into my outdoor GPS tool. It is a 10.000 lines of code project that was already grown to a real 'Swiss Army Knife' for mobile navigation. You will find the Freeware by googling to 'KDR GPS Tracker'. By the way, many thanks to the B4P community for a lot of ideas.
Enjoy the 'App'
DieterR
I hope my sample program will inspire you to implement some improvements and provide it also in the B4P forum. Perhaps as new Open Source project? For example: improvements of the graphic, e.g. a nice feature would be a seamless scrolling from one map tile to the next. In the present version only one tile is shown and the change is very 'skippy'.
Short Description: The sample program works by default with the GPS Intermediate Driver. For older devices the item 'AutoGPS' in the .ini file has to be set to 'false', as well COM and Speed has to be adapted. After GPS and Internet connection are established the program downloads the proper Map Tile and shows the GPS position in it. You can zoom in and out by a simple click in the map. Map tiles are automatically stored. Stored tiles will be used next time much faster or when off-line. The tile storage should be in a SD card and may be shared with other programs. If required, change the default path or the Basic URL for the Map source in the .ini file. When GPS is switched off you can select a nearby tile by shift gesture at the map. A numeric menu is available to select Map tiles manually and for understanding how OSM tiles work. The source code includes basic infomations and a link.
Now, I am going to implement the OSM tiles 'App' into my outdoor GPS tool. It is a 10.000 lines of code project that was already grown to a real 'Swiss Army Knife' for mobile navigation. You will find the Freeware by googling to 'KDR GPS Tracker'. By the way, many thanks to the B4P community for a lot of ideas.
Enjoy the 'App'
DieterR
Attachments
Last edited: