Kazu46Machi / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

Infowindow is too large in IE7 #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. A sample of the problem can be found here http://earth-api-
samples.googlecode.com/svn/trunk/demos/mapsapi/index.html
2. another bug with this same window is that if the Google Earth canvas is 
too small, then the infowwindow will appear cut off of the screen.
3.

What is the expected output or behavior? What do you see instead?
I expect to see a properly sized and placed infowindo

Which plugin version are you using?

I am not sure.

Which browsers and operating systems are affected?
FireFox IE7

Please provide any additional information (code snippets/links) below.

Check out your own sample. 
http://code.google.com/apis/earth/documentation/examples.html

and click on the google maps integration link, then go to earth.

Original issue reported on code.google.com by waelmans...@gmail.com on 18 Jan 2009 at 10:22

GoogleCodeExporter commented 8 years ago
Another thread:
http://groups.google.com/group/google-earth-browser-
plugin/browse_thread/thread/b2c0d5bb4af1e137#

Additional Details:
Plugin Version: 4.3.11528.8566   (on winXP) 
Maps API : 2.140g

Original comment by BarryBHu...@gmail.com on 18 Jan 2009 at 2:44

GoogleCodeExporter commented 8 years ago
Fixed in latest Maps API version

Original comment by api.roman.public@gmail.com on 23 Jan 2009 at 6:11

GoogleCodeExporter commented 8 years ago
This issue has returned again, today Sun the 25th!

Original comment by waelmans...@gmail.com on 25 Jan 2009 at 7:24

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 26 Jan 2009 at 6:11

GoogleCodeExporter commented 8 years ago
Issue 149 has been merged into this issue.

Original comment by api.roman.public@gmail.com on 26 Jan 2009 at 11:48

GoogleCodeExporter commented 8 years ago
Roman,

Is there any hope that this issue will get resolved soon?

It was fixed before, and then someone undid what was fixed?

I am also confused as to why some Google Earth samples work and others don't?

Original comment by waelmans...@gmail.com on 30 Jan 2009 at 6:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I hope this helps,

Here are two examples from Google that are almost exactly the same, One works 
and 
the other does not:

Working example:
http://earth-api-samples.googlecode.com/svn/trunk/examples/maps-integration.html
and has "google.maps.Event.trigger(marker, "click");" as the trigger event for 
the 
baloon

Non Working example:
http://www.google.com/earth/plugin/examples/mapsapi/
and has "GEvent.trigger(marker, "click");" as the trigger event for the baloon

This means that there is something wrong with "GEvent.trigger" as it should 
work the 
same way as google.maps.Event.trigger

Original comment by waelmans...@gmail.com on 2 Feb 2009 at 12:18

GoogleCodeExporter commented 8 years ago
Some working, some not is because they load different versions of the API. One 
of 
those loads v2 the other v2.x

You can lock the api to a specific version, probably v2.141, which will then 
continue 
to work in the short term, even if the latest version of the API is broken. But 
6 
weeks down the line or so you should look at changing back to v2 as old 
versions are 
not maintained forever. 

Original comment by BarryBHu...@gmail.com on 2 Feb 2009 at 12:20

GoogleCodeExporter commented 8 years ago
Thanks Barry, But my website isn't working the way it is supposed to because of 
this.

I can't lock or modify because I am using a third party wrapper for this 
control. In 
other words i am stuck with what I have.

Do you think I am on the right track with my previous post?

Original comment by waelmans...@gmail.com on 2 Feb 2009 at 12:26

GoogleCodeExporter commented 8 years ago
I doubt it. There are two namespaces for the Maps API functions depending on 
how its 
loaded, but the functionality of the two should be identical. 

Are you sure you cant find where it loads the API, and change the version 
number? 
Even modifying the source code directly. 

Original comment by BarryBHu...@gmail.com on 2 Feb 2009 at 12:15

GoogleCodeExporter commented 8 years ago
Hi Barry,

You have no idea how much pain and time you have saved me. I did find it last 
night 
because of your suggestion and I set the version to 2.x, and presto it works!!!

Thank you so much for pointing that out, I am new at this and I need all the 
help I 
can get.

Thanks again Barry!

Original comment by waelmans...@gmail.com on 3 Feb 2009 at 2:48

GoogleCodeExporter commented 8 years ago
Hi,
I have the same problem, how can i set the correct version?.
I have another question:
if i want to put a building model in the earth layer, which is the instance of 
the
earth plugin ?

Original comment by villegas...@gmail.com on 11 Feb 2009 at 7:26

GoogleCodeExporter commented 8 years ago
Issue 160 has been merged into this issue.

Original comment by api.roman.public@gmail.com on 11 Feb 2009 at 10:46

GoogleCodeExporter commented 8 years ago
Use:

google.load("maps", "2.x");

until 2.x replaces the current version 2

See the Maps API reference for getEarthInstance to add a model to Earth.

Original comment by api.roman.public@gmail.com on 11 Feb 2009 at 10:47

GoogleCodeExporter commented 8 years ago
Finally fixed as of this morning. (Maps API 2.148 pushed to "2")

Original comment by api.roman.public@gmail.com on 12 Mar 2009 at 5:13

GoogleCodeExporter commented 8 years ago
Well actually this isn't fixed... there is problem with <i> tag in description. 
Try
adding something like:

<i>Hello world</i>

to the InfoWindow and view it in IE7

Original comment by kkax...@gmail.com on 20 Mar 2009 at 11:46

Attachments:

GoogleCodeExporter commented 8 years ago
Ah, repro'd in IE7 (but not IE6).

Original comment by api.roman.public@gmail.com on 24 Mar 2009 at 6:32

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 16 Apr 2009 at 8:56

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 22 May 2009 at 1:49

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 12:52

GoogleCodeExporter commented 8 years ago
Bulk edit.

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 1:02

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 9 Aug 2009 at 1:16

GoogleCodeExporter commented 8 years ago
Fixed as of 5.1.3506.3999 (API v1.003); see announcement here:

http://groups.google.com/group/google-earth-api-notify/browse_thread/thread/6a32
fdfcc60236e

If this issue is still not fixed, please let us know.

Original comment by api.roman.public@gmail.com on 9 Sep 2009 at 10:17

GoogleCodeExporter commented 8 years ago
I have encountered this same problem when using IE7.  IE8 & Firefox 3.6 have no
problem.  The dialog balloon opens to the full width of the plug-in window, 
sometimes
overlapping the edge.

I am using a html string balloon with a couple drop-downs and a text area 
field, etc.
 My OS is XP Pro.

Below are the two html lines I have for the keys set for the domain 
"localhost:8080".
 I believe they show the version numbers as arguments?  In the first line, I've tried
both 2 and 2.x values without any effect.

    <script
src="http://maps.google.com/maps?file=api&v=2.x&key=ABQIAAAAWx5r6XYpeHUmzoX23TP0
TxQWM2XPEBzkFPXwzA-F1zp8pqE5uRT6RtPDS8PN5ynv00DoUIj5cIeosg"
type="text/javascript"></script>
    <script
src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-msw&key=ABQIAAAA
Wx5r6XYpeHUmzoX23TP0TxQWM2XPEBzkFPXwzA-F1zp8pqE5uRT6RtPDS8PN5ynv00DoUIj5cIeosg"
type="text/javascript"></script>

I also grabbed these lines from a map demo (they were slightly different...) 
and used
my keys but the problem still remained.

Original comment by mcolyn...@gmail.com on 6 May 2010 at 10:46