> 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);
> > var polyline = 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