cybersthang / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

Using extinfowindow in Earth Mode #129

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use any example of the extinfowindow trunk, but enabling
"G_SATELLITE_3D_MAP"
2. Open a placemark in the 2D map
3. Go to 3D mode (Earth mode)
Example:
http://files.getdropbox.com/u/554731/www/PAC/PAC_p1.html

I would hope to have the CSS class working in the Earth mode but it doesnt.

I tried it in my FF 3.0.11, Windows Vista.

Is there any plans of extending this library to Earth mode? Or is there any
ideas on how could I fix it? Maybe I could help building a patch...

Thanks in advanced!

Original issue reported on code.google.com by luizrodr...@gmail.com on 14 Jul 2009 at 1:48

GoogleCodeExporter commented 8 years ago
It would be very hard to make this work - nearly impossible. Since Earth is a 
plugin, 
the only way to overlay stuff in Earth is via ScreenOverlays (images) or Iframe 
shims 
(rectangular areas). So it could only work if your winodw was rectangular and 
had no 
stem, I'd say.

Original comment by pamela.fox on 14 Jul 2009 at 2:01

GoogleCodeExporter commented 8 years ago
I see... And there is a way of checking if the Earth mode is enabled or not for 
each
transition (Map/Hybrid/Terrai/Earth/etc)? A bunch of Ifs, right? :)

What do you think? Would it be a good solution to use Gmaps default InfoWindow 
in
Earth and ExtInfoWindow in the others?

Original comment by luizrodr...@gmail.com on 14 Jul 2009 at 2:09

GoogleCodeExporter commented 8 years ago
That could work, I guess. I think you would have to listen to the maptype event 
and 
possibly re-assign click-listeners then. If you post in the Earth API forum, 
Roman 
Nurik would likely have some good ideas, he's the Earth expert.

Original comment by pamela.fox on 14 Jul 2009 at 2:11