Why "google Is Not Defined " When I Load Google Js Api
i follow the api step by step,but can't load successful.. this is my code: &
Solution 1:
you should put any call to the google stuff inside the onGoogleDataLoad()
function to make sure it is not launched before the APIs have finished loading.
function onGoogleDataLoad() {
var service = new google.gdata.maps.MapsService('docs-example');
listMaps()
}
Post a Comment for "Why "google Is Not Defined " When I Load Google Js Api"