[Google Maps API v2] How to specify start and end point names in routes api (GDirections class)
Hi all,
Wonder if someone would be kind enough to help me following problem. I
am trying to change the default start and end point names for a route
I have defined using the GDirections api.
For example:
http://code.google.com/apis/maps/documentation/javascript/v2/examples/directions-simple.html
The above example displays starting point on the right hand side route
table as "500 Memorial Dr, Cambridge, MA 02139" and end point "4
Yawkey Way, Boston, MA 02215". Now this is all fine when youre
specifying addresses in your route, but I'm specifying longitudes and
latitudes and the API is converting these into the nearest street
names. I'd like to be able to specify these names myself. For example
"ABC restaurant" etc. I've looked through the API reference manual and
can't find any pointers there so came to the forum.
I appreciate your help,
Rob Ponting
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home