On Sep 19, 11:07 am, BayBookie <[EMAIL PROTECTED]> wrote:
> My map is not working correctly.  I can add a marker if I include in
> the script, but can not read from this xml file.  Can anyone see what
> is wrong with the javascript that I have this problem
>
> Can parse the xml, but when sending to map, marker does not load.
> Script dies
>
> Does not work
> map.addOverlay(new GMarker(new GLatLng(x)));

Why would you expect the above line to work?  What error do you get in
the error console?

>
> Works Good
> map.addOverlay(new GMarker(new GLatLng(35.30609,-80.731831)));

It is valid syntax.

>
> Here is thxml line
> <pos3>(35.301198394321865, -80.72648739612839)</pos3>
> Trying to load in a while loop

Please, please, please read the posting guidelines and post a link to
your map if you would like help...
--~--~---------~--~----~------------~-------~--~----~
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