I think you have to use the equivalent Google Maps functions for 
determining a route between A and B, derive the returned polyline from 
the results. You may then reuse the FindNearRoute, which uploads the 
polyline points to your server via AJAX (although I would recommend to 
use the Google wrappers for XmlHttpRequest). The return from your SQL 
query would have to be formed different, from what the web handler does, 
because nobody would be able to interpret the VE like JS, so you have to 
recode this again using the Google equivalents.

There are of course thousands of other ways to reach the target.

[email protected] schrieb:
> I am trying to build a simple site that shows churches along a driving
> route. I found this posting using Microsoft VE but wanted to see if I
> could apply the logic to the Google API and Directions?
>
> Forgive me for comparing VE in the Google API forum but I could not
> find an example to compare when I searched here.
>
> http://johanneskebeck.spaces.live.com/blog/cns!42E1F70205EC8A96!4504.entry
>
> Thanks for any assistance with this.
> Johnn
>
> >
>
>   

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

Reply via email to