You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by Nadeem Anjum <na...@gmail.com> on 2013/07/26 11:45:24 UTC

[GSoC] Random movements on Leaflet Map

Hi All,

As part of my gsoc project, I need to simulate agent movements on map as
follows:

1. Agent starts a known location and moves along a road.
2. At each road intersection, the agent uniformly chooses one possible road
and moves along that.

The path chosen is to be traced with a poly-line.

I know how to choose a path uniformly and mark it with poly-lines once I
have the data. But I am looking for how I can retrieve data like road
intersection points and the roads leading from there on.

For a different kind of agent simulation, i had used cloudmade api, to get
multiple routes between the source and destination and simulate agent
movements along one of the routes.

Please let me know if there are any APIs or methods available in leaflet
which can help me simulate random agent movements.

Thanks,
Nadeem