That worked...immediately when I replaced the lat=0 and lng=0 for undefined's, it worked brilliantly. thanks!
On Jun 4, 10:31 am, Andrew Leach <[email protected]> wrote: > On Jun 4, 5:20 pm, noobtube <[email protected]> wrote: > > > Its never had a problem previous...it just does not place it. This > > code is directly from Mikes page at:http://econym.org.uk/gmap/which > > works fine. The only thing I really changed was instead of writing > > out the error code, I place "no address found" if there is an error. > > But your Javascript is expecting lat and lng attributes, and you don't > provide any. Firefox copes with this better than IE. > > I would suggest that if lat and lng are not available, you provide > lat="0" lng="0" > and then test the values you get from the XML. Only plot a marker if > lat and lng are both non-zero. You can probably be fairly sure of not > having a marker at (0,0). > > 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 -~----------~----~----~----~------~----~------~--~---
