Now just the distance problem......

I need the distance from point1 to point2.

I have tried using "getdistance" but I don't understand the API
documentation for it.
I'm not use to programming in either HTML or Java so any help would be
appreciated.

Feel free and have some karma.




On Sep 17, 10:08 am, Paybak <[email protected]> wrote:
> > Why are you getting the url value?
>
> You know what, i copied that bit of code from someone else's example,
> i thought (nievley) that it had something to do with decimal
> precision. Doh!
>
> Well thats sorted it now.
>
> A problem shared...........
>
> Thanks everyone.
>
> On Sep 17, 9:57 am, Rossko <[email protected]> wrote:
>
> > > i cant upload it to a free web host because i would have to apply for
> > > another API key for that domain.
>
> > But that doesn't cost you anything, and it doesn't invalidate any keys
> > you may already have.  You may have as many keys as you like.
>
> > > var point1 = marker1.getLatLng().toUrlValue(10);
> > > var point2 = marker2.getLatLng().toUrlValue(10);
> > > varpolyline= new GPolyline( [ point1 , point2 ]) ;
>
> > Why are you getting the url value?
> > GPolyline would like to be fed an array of GLatLng objects.
> > marker.getLatLng() will return a GLatLng object.
--~--~---------~--~----~------------~-------~--~----~
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