Hello,

I am not sure it is the best place to ask my question as JQuery is
involved in my problem.
I try to modify my gmap instance in a jquery ajax callback.
I know I cannot access global variable this variable. I made different
tests but nothing works. I can access other variables but each time I
try to access my gmap instance there is the following error:

Error : a.initialize is not a function
Source File : 
http://maps.gstatic.com/intl/en_ALL/mapfiles/193c/maps2.api/main.js
Line : 769

here is the url of my test : 
http://chupabahari.appspot.com/html/test_jquery_map.html

when you click on the map a request is send to the server using
JQuery.ajax. In the callback I display 3 alert box
- one which display a member from the json object retourned by the
server.
- one which display a variable local to my call to JQuery.ajax
- one which display a string which is part of my global object (which
also contains my gmap instance).
and I also try to add an overlay to my gmap. It is this last call
which generate the error.

Do you any ideas of my problem ?
Any recomandation about an article I should read to help me ?

regards,

Nicoals

-- 
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.

Reply via email to