On Nov 24, 12:42 pm, ravi pandey <[email protected]> wrote: > I am getting the JS error "a is null" > On the google map which i have embaded with my application > please suggest me the solution for it.
It looks like you missed the posting guidelines. http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines However, you could make sure that you have a div with an id which matches the element you use in Javascript; and that you have centred the map before doing anything else with it. var map=new GMap2(document.getElementById("map-div")); // you need a <div id="map-div> map.setCenter(...); // you need to centre the map before using it: see the documentation If that doesn't work you will need to post a link. Andrew allowed out of purdah by the new Group software -- 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.
