Thx you Cokol for your proposal but my project is confidential.
If you wanna give a try by yourself, you just have to paste this code
in a whatever project.
ScriptElement script1 = Document.get().createScriptElement();
script1.setType(text/javascript);
Hello,
I still have the problem. I tried to load other scripts and it works.
There is a mechanism from JS maps API that i may not understand or
know.
I should not be the only guy trying this...
Regards,
Vincent
--
You received this message because you are subscribed to the Google Groups
cross domain policy does not apply for some certain resources like
javascript or images, so this is not the problem, you have to append
the script element to the HEAD element, not to the BODY
On 13 Aug., 11:56, Vincent COROLLEUR vcoroll...@gmail.com wrote:
Hello,
I still have the problem. I
..but watch out, in case you have a code depending on A.js you cannot
run it directly after loadJS(A.js) - it will not work, since
loadJS() is always asynchronously loaded, meaning you code is executed
whilst A.js has not been loaded yet, you have to work with callbacks
to proceed executing AFTER
I tried to load the script on a button event and it's the same...
Really annoying
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group,
maybe u can expose me your eclipse project and I can try to resolve it
locally...? if u dont mind
On 13 Aug., 13:57, Vincent COROLLEUR vcoroll...@gmail.com wrote:
I tried to load the script on a button event and it's the same...
Really annoying
--
You received this message because you are
I have run into this problem with a few scripts that rely on the
document load event, maybe look into manually firing it. I think I
tried dynamic loading of the maps library before and gave up, but I
didn't try very hard to get it working.
On Aug 13, 5:57 am, Vincent COROLLEUR
hi,
I have to load different types of map depending on the user. I can't
use gwt-maps API because its only supports Google Maps API version 2
and i need to load OpenLayers in some case. I used to load google map
or openLayers by the static way but now i need to load them
dynamically (so from the
I think it doesnt work bacause of the cross-domain protection. Have
you got any ideas ?
Regards,
Vincent
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To
Hello,
I'am trying to load dynamically with GWT some scripts in order to use
google map API V2.
By the static way it works (script tag in the index.jsp page) :
script src=http://maps.google.com/maps?
file=apiamp;v=2amp;sensor=true_or_falseamp;key=ABQIpOR5tulUc5y1R6lOKFkbpRTwM0brOpm-
Hi Vincent,
You might want to look at this project:
http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted
This not only has gwt bindings for google maps, but also has a way to
load the API dynamically (using the ajax loader):
Thx for your help mooreds, but i need to run google map without JAR, i
have to load it with a script.
This script is reachable with an URL. Before, i used to do it with a
script tag placed in the index.jsp as explained previously.
Now the user of my application can choose his type of map (google
I don't understand?
The gwt maps project is GWT. Do you want to load the map via GWT, or
before GWT loads? If after GWT loads, you could definitely load or
not load based on some user input.
Dan
On Aug 9, 9:39 am, Vincent COROLLEUR vcoroll...@gmail.com wrote:
Thx for your help mooreds, but i
13 matches
Mail list logo