I wanted to use addRoute
in MapView
to highlight several routes and needed an easy way to generate the points. So I hacked together a utility using the Google Map API to click-create a route and generate the list of points from it. It will also output the route's center and span which can be useful in centering the map on it. I thought others might find it useful. It's available as a Gist on github at https://gist.github.com/896595.
↧
Point generator for Google map routes to use with MapView
↧