0

Google Map problem

asked 2009-10-07 09:12:27 +0800

issamlaabidi gravatar image issamlaabidi
217 2

i am using google map in my application i put this script in mu zul

<scriptsrc='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA6opE-34ElJRFMqFV8CWhKxSRZtS7mwG0dP6T0VpFAWsPxlcP1xQ8nf1896yxz1JLCMNGgDKwoa46vg'>
</script>

everything is working fine. Now i want to put this script in my source java as this:

Script script = new Script();
script.setSrc("http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA6opE-34ElJRFMqFV8CWhKxSRZtS7mwG0dP6T0VpFAWsPxlcP1xQ8nf1896yxz1JLCMNGgDKwoa46vg");

But this does not work any help please

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-10-08 11:59:32 +0800

samchuang gravatar image samchuang
4084 4

Hello ~ :

there is a file in zk demo : "gmaps-ifr.zul"
It says "google maps' javascript cannot be loaded dynamically",
so I think you can't use script in code

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-10-07 09:12:27 +0800

Seen: 188 times

Last updated: Oct 08 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More