Hi Ivan, Thanks a lot for the response.....I understood that we don't need API Keys in Maps API V3. But it seems that i was mixing up code from V2 and V3 :-)
The workaround from Andrew Leach at http://code.google.com/p/gmaps-api-issues/issues/detail?id=1364 helped my case. Thanks for the help. Regards, Anurag On Fri, Oct 2, 2009 at 4:23 AM, Iv <[email protected]> wrote: > > I don't see your api key in the header section. > > http://www.travelmapia.com/belize/index.html > > On Oct 1, 2:40 pm, Anurag <[email protected]> wrote: > > All, > > > > Apologies for not including a link with this email. > > > > "GDownloadUrl not Defined" is what I am seeing in the Java Script > > Error Console for a simple script as below......Even though the head > > section of my HTML page includes the Maps API JavaScript. > > > > Please Guide. > > > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > <head> > > <script type="text/javascript" > > src="http://maps.google.com/maps/api/js?sensor=false"></script> > > <script type="text/javascript" src="http://www.google.com/jsapi"></ > > script> > > <script type="text/javascript"> > > google.setOnLoadCallback(InitializeThisMap); function > > InitializeThisMap() { > > var myLatlng = new google.maps.LatLng(23.24732,77.41223); var > > myOptions = { > > zoom: 5, scrollwheel:false, > > keyboardShortcuts:false, center: > > myLatlng, mapTypeId: > > google.maps.MapTypeId.ROADMAP } > > var map = new google.maps.Map(document.getElementById > > ("map_canvas"), > > myOptions); GDownloadUrl("/RFID/ > > SwineFluStateContactInformation.xml", > > function(doc) > > { > > var xmlDoc = GXml.parse(doc); var markers = > > xmlDoc.documentElement.getElementsByTagName > > ("StateInformation"); > > > > alert(StateNodes[0].getElementsByTagName("State") > > [0].childNodes[0].nodeValue); > > });} > > > > </script> > > </head> > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
