I'm trying out the leafletjs.com library which i think is very nice for mobile application, but i'm in doubt how to approach it.
I'm trying to make a realtime map where markers represents the position of each logged on user. If the user moves, the users marker should move accordingly.
I'm a bit in doubt, how to do this in leaflet. My problem is simply how to make a lot of markers the right way, so i can later pick and move them.
First i need to add each marker to a layergroup, and add that layergroup to the map, right?
But later, how do i programmicaly pick one specific marker and update its position?
Do i need to use any plugins or is leaflet in it self all i need?
Thomas