Ionic & Leaflet Map


#1

Hi Everyone,

I need help! :frowning: My App needs to view a map where it will continually track the user’s position. Such example of this is the Waze App. Now I managed to integrate Leaflet on my App. I just need a method on how I can track the user position real-time or somehow continuously.

Thanks in advance! :smiley:


#2

use geolocation plugin of cordova.
there you can watch the position and get informed if that changed:


#3

Thanks for this. Will give this a shot.