Hi All,

I can pinpoint the errors to the addOverlay(marker) line but NO idea
why its failing - it only fails in IE - so im sure its something
related to the way its being contructed - please someone put me out of
my misery !!!!

Code :

var points = [] ;
points = point.split(",");
var langlat = new GLatLng(parseFloat(points[0]), parseFloat(points
[1]));
var gmarker = new GMarker(langlat);
map.addOverlay(gmarker);

point is a string from a form eg ("51.123123,31,000000")

Its giving me the following error :

Message: Invalid argument.
Line: 24
Char: 18
Code: 0
URI: http://maps.google.com/intl/en_ALL/mapfiles/140g/maps2.api/main.js

Please help me !!!

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to