On Sep 23, 7:39 pm, David <[EMAIL PROTECTED]> wrote:
>
> I think I need a fresh set of eyes...
> Any ideas ?

This
var toMarker = new GMarker( originalToLatLng.lat(),
originalToLatLng.lng() , markerOptions1 );
should be
var toMarker = new GMarker( new GLatLng(originalToLatLng.lat(),
originalToLatLng.lng()) , markerOptions1 );
or even
var toMarker = new GMarker( originalToLatLng, markerOptions1 );

Currently you are passing a single number instead of a GLatLng, and a
single number instead of your options object. And then an options
object which is discarded. You need to pass a GLatLng and an options
object.

[There may be other similar occurrences in the code. I just found that
one]

Andrew
--~--~---------~--~----~------------~-------~--~----~
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