Hi,
I'm implementing a map gadget using Google Maps API.
I did it without any problem in a simple page, so thanks to the Google
Code team!
Today I wanted to load my gadget dynamically to use it in a complex
ajax workflow, like that :

 * Get my HTML structure that contains the div with id="map" with an
Ajax call
 * Make it appear with innerHTML method.
 * Then initialize map etc (google.load...)

But it didn't work, the google.load method makes my page white and
empty and "ad eternam" loading.
My questions are :
 - is the google code script (loaded in head : 
http://www.google.com/jsapi?key=...)
parsing my HTML on page load? (it could be why the "innerHTML" isnt
taken into account?)
 - Could this problem be solved with JS DOM manipulations like
"appendChild" method (does the API support such changes?)
 - Else, do you have any idea how I can do that?

I really tried to look for solutions on the web, but didn't find
anything, (maybe because of my bad knowledge with english
vocabulary ;)    ). There must be someone who was confrontated to the
same problem..?

Thanks in advance!
I'll try to solve this and will keep you aware if I understand
something new...

Pitt

I'm using Google Maps API v2.89 under Firefox 3.5.5/Vista

--

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