Launched: Support for Chrome, new Notify Group

25 views
Skip to first unread message

Roman N

unread,
Feb 19, 2009, 7:12:46 PM2/19/09
to KML Developer Support - Google Earth Plug-in
Hi all,

We've just launched support for Google Chrome 1.0+.

There are some more details at the new Google Earth API notifications
group, which I recommend that you all either join or subscribe to via
RSS:

http://groups.google.com/group/google-earth-api-notify/topics

****NOTE****
There is one open bug that is important to take note of, as it may
require a slight change to your site:

http://code.google.com/p/chromium/issues/detail?id=7793

The issue is that Chrome temporarily hangs when alert/prompt dialogs
are opened in an API callback or event handler routine. The workaround
is to wrap all calls to alert or prompt in a setTimeout, as is
demonstrated in the Fetch Bad KML sample:

http://earth-api-samples.googlecode.com/svn/trunk/examples/kml-fetch-bad.html
********

This closes issue 69:

http://code.google.com/p/earth-api-samples/issues/detail?id=69

AlanHale

unread,
Feb 20, 2009, 5:01:46 AM2/20/09
to KML Developer Support - Google Earth Plug-in
Yippeee! Thanks Roman.

Alan

On Feb 20, 12:12 am, Roman N wrote:
> Hi all,
>
> We've just launched support for Google Chrome 1.0+.
>
> There are some more details at the new Google Earth API notifications
> group, which I recommend that you all either join or subscribe to via
> RSS:
>
> http://groups.google.com/group/google-earth-api-notify/topics
>
> ****NOTE****
> There is one open bug that is important to take note of, as it may
> require a slight change to your site:
>
> http://code.google.com/p/chromium/issues/detail?id=7793
>
> The issue is that Chrome temporarily hangs when alert/prompt dialogs
> are opened in an API callback or event handler routine. The workaround
> is to wrap all calls to alert or prompt in a setTimeout, as is
> demonstrated in the Fetch Bad KML sample:
>
> http://earth-api-samples.googlecode.com/svn/trunk/examples/kml-fetch-...

oohrogerpalmer

unread,
Feb 22, 2009, 12:13:52 PM2/22/09
to KML Developer Support - Google Earth Plug-in
I just can't get the plugin to work for Google Chrome. It looks like
it's trying and then eventually it gives up and tells me I may need to
reinstall the plugin - which I have done more than once now, but
still no joy. Is there anything I need to do to or is it a bigger
problem than just me?


Markw65

unread,
Feb 24, 2009, 12:24:34 AM2/24/09
to KML Developer Support - Google Earth Plug-in
Im getting some strange problems.

I have a "click" event listener on ge.getWindow(). That checks
event.getTarget(); if its a KmlPlacemark, it iterates over a list of
placemarks comparing them to event.getTarget(). If it finds it, it
takes an action.

This works in IE6, IE7, FF2 and FF3. In chrome, it never finds the
placemark in my list. I've even cut the example down to where there is
exactly one placemark, and it still doesnt compare equal.

In other words event.getTarget() == myPlacemark *always* returns
false. But if I compare the locations of the placemarks, and the
descriptions, and the names they are obviously the same placemark.

My workaround for now is to give the placemarks an Id, and compare the
Id's for equality.

Is this a known bug?

Mark

On Feb 19, 4:12 pm, Roman N wrote:
> Hi all,
>
> We've just launched support for Google Chrome 1.0+.
>
> There are some more details at the new Google Earth API notifications
> group, which I recommend that you all either join or subscribe to via
> RSS:
>
> http://groups.google.com/group/google-earth-api-notify/topics
>
> ****NOTE****
> There is one open bug that is important to take note of, as it may
> require a slight change to your site:
>
> http://code.google.com/p/chromium/issues/detail?id=7793
>
> The issue is that Chrome temporarily hangs when alert/prompt dialogs
> are opened in an API callback or event handler routine. The workaround
> is to wrap all calls to alert or prompt in a setTimeout, as is
> demonstrated in the Fetch Bad KML sample:
>
> http://earth-api-samples.googlecode.com/svn/trunk/examples/kml-fetch-...

Roman N

unread,
Feb 24, 2009, 1:23:25 PM2/24/09
to KML Developer Support - Google Earth Plug-in
Hi Mark,

This is a known bug in Chrome:

http://code.google.com/p/chromium/issues/detail?id=3786

I've struggled with it many a time myself :(

- Roman

Roman N

unread,
Feb 24, 2009, 1:24:26 PM2/24/09
to KML Developer Support - Google Earth Plug-in
Hi oohrogerpalmer,

I assume you've tried restarting Chrome? And also, have you tried in
other browsers to double check that this is a Chrome-specific issue?

- Roman

oohrogerpalmer

unread,
Feb 25, 2009, 5:31:01 PM2/25/09
to KML Developer Support - Google Earth Plug-in
Hi

I have had quite a few probelms and tried all the browsers, but I hav
identified that for some reason I have 2 copies of Google Earth on my
PC, and neither can be deleted. I am working on it and may get back to
you. At the moment I am just slapping my pc about a bit for being
incompetent.
> > problem than just me?- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages