Tuesday, August 10, 2010

Re: How to draw the loop line in the map if origin and destination is same?

> I have an requirement that the origin and destination is same i need
> to draw the loop(like Flow chart).

There's nothing to stop you drawing a Polyline like that, just supply
coordinates.
http://code.google.com/apis/maps/documentation/javascript/v2/overlays.html#Polylines_Overview

If you are talking about Directions, that does as its told and will
give a null route if you ask for A-A. If you ask for a route from A-B-
C-A you will get one. Specify more than one " to: " to add waypoints
http://code.google.com/apis/maps/documentation/javascript/v2/services.html#Directions

--
You received this message because you are subscribed to the Google Groups "Google Maps API" 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


Real Estate