I tried to get back the object, but this one is declared into the
function "wpgmappity_maps_loaded1() ", so it is local to this
function...
As a consequence, when I try to use is like
wpgmappitymap1.setCenter(lnlg); I have a 'object not found' error
Thus, my main problem is that the source code is instanciated locally
in a function, without any reference to the document or something
else. I tried to get the object with methods like getElementById, but
i cannot get a result.
My current workaround (outside wordpress) is to declare a global
variable into the Head part of the page, and add "publicmap =
wpgmappitymap1;" at the end of you function. Now I can use the object
publicmap anywhere...
Vincent