Tiles: Thunderforest.com cycling
Example #10 - Simple GPS - Shows where you are currently located on the map
This demonstrates how to create a simple GPS by tapping into the navigation services on your device. If you run it on a laptop, it will show you where you are. If you run it on something like an iPad Air or iPhone, it will track your progress as you move. It displays a single dynamic marker and wraps it in an animated circle in the BA3 Altus Mapping Engine.
Maps: © Thunderforest, Data © OpenStreetMap contributors