> var GeoProp ='';GeoProp ='('+latitude +','+longitude +')';
> var GeoIns ='';GeoIns ='('+insLat+','+insLong+')';

These are string variables.

> var polyline = new GPolyline(GeoIns,GeoProp, "#ff0000", 3, 1,
> polyOptions);

GPolyline expects to be supplied a single array of GLatLng objects for
its 'points', it won't work if you give it two strings instead.
There are several other places where you're putting strings where
numbers are expected, too.

Have a look at the first few parts of this -
   http://econym.org.uk/gmap/

cheers, Ross K

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