On Dec 20 2010, 4:09 pm, Mohammed Rashad <[email protected]>
wrote:
> When I load the script 
> filehttp://maps.gstatic.com/intl/en_us/mapfiles/api-3/2/4a/main.js
>  dynamically I am getting this error
>
> Error: m.google.maps is undefined
> Any one please help. I am stuck for two days
> Please tell me a way to solve this error?

One way to get that error in Firefox is to remove the callback option
from the url. To reproduce you could copy the source of:
        
http://gmaps-samples-v3.googlecode.com/svn/trunk/callback/callback_delayed.html
and change the script.src variable from:
        http://maps.google.com/maps/api/js?sensor=false&callback=handleApiReady
to:
        http://maps.google.com/maps/api/js?sensor=false

Without looking at your code it's impossible to tell if this is the
cause of your problem.

/Roger P

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to