Thursday, December 3, 2009

Re: finding out my stores on the route

Hi Mike,
Thanks for the help. I could calculate the distance of a point from
the polyline using javascript.

I am using GDownloadurl to generate xml, by passing a url through
javascript.

GDownloadUrl("googlexml.jsp?p=lat1 lng1&p=lat2 lng2.......&p=lat(n)
lng(n)") , function(data){ })

where the jsp keeps on appending itself depending on the points on the
polyline. The program runs fine when the no. of points on the route is
less, as it increases, the GDownloadUrl fails and am not able to fetch
xml. We understand this is a limitation of GDownloadUrl. Can you
please help?

On Nov 19, 2:14 pm, ranjitha <ranjithargo...@gmail.com> wrote:
> Hi Mike,
>
> This link is helpful but the issue is, the point(lat-long) is on our
> database server and there are multiple points, so I would want code
> which runs on the server side? Any clue..
>
> On Nov 18, 1:24 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
>
> > Bill Chadwick has "Distance to Poly" code here:
>
> >http://www.bdcc.co.uk/Gmaps/BdccGmapBits.htm
>
> > --
> > Mike Williamshttp://econym.org.uk/gmap

--

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