Possible to create random route given a starting point?

4,020 views
Skip to first unread message

JasonG

unread,
Apr 6, 2011, 12:54:34 PM4/6/11
to google-map...@googlegroups.com
Hi,

While working on a project which pays the bills, I had an idea for a fun Google Maps API-driven game which would involve the player following a random route starting at a specific point. I'm pretty familiar with the API however can't seem to conceive of a way to randomly identify a point *on a street* say five miles away from any given point. If I could do that, then creating the route is of course easy. Any ideas on how to hit upon a random point which resides on a street?

Thanks!
Jason

Leigh

unread,
Apr 6, 2011, 1:25:31 PM4/6/11
to Google Maps JavaScript API v3
Jason,

Please take a look at this site. http://www.routeloops.com. I think
it does what you are asking about.

Leigh
Reply all
Reply to author
Forward
0 new messages