If you are asking if you can get each street intersection you cross on
a route: no, you can't.

If you are trying to determine if one route crosses another, you can
try checking to see if they share any step start_locations (which
would mean they cross).  But routes can cross without having a common
waypoint.   You could try checking each direction step to see if the
straight line path between beginning and end cross (this is just
geometry).  While that would probably catch most crossing steps, I can
imagine a routing in mountainous areas where this would not guarantee
that they cross.

Good luck.

- Jeff

On Aug 16, 3:09 am, steve <[email protected]> wrote:
> Hi all,
>
> I'm using route on api v3,can I get all cross point on each steps?
> because I want to check one road cut another road,so I think if I can
> get all cross points on each road I can determine it
> ex:the 
> routehttp://maps.googleapis.com/maps/api/directions/json?origin=21.008981,...
>
> Thank a lot

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to