Open jsyrjala opened 11 years ago
Currently centers on latest tracker event, which is not good.
Also a timeout for zoom/re-center actions is needed. Now if you drag the map to check the driven route etc, the map jumps to the latest location instantly. In my own system all drag events are catched, and they set a timestamp. This is checked when a new event comes and if the last drag was over 10 seconds ago, the zoom/re-center happens, otherwise it's ignored.
Add functionality for following tracker(s). Map is centered/zoomed so that selected trackers are visible. When tracker(s) move, move also map.