On Mar 6, 6:08 am, Manse <[email protected]> wrote:
> 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 !!!

Help us help you.  Post a link to your map so we can use a debugger on
your page.
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines

Alternatively, look at the documentation and/or Mike Williams'
tutorial page for troubleshooting suggestions.

  -- Larry


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