Results 1 to 5 of 5

Thread: Embed Google Earth API

  1. #1
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    3

    Default Embed Google Earth API

    I'm trying to embed the google earth api plugin in an ExtJS application, here is a sample:

    http://64.42.248.145:8080/tourorderapi/php/index.php

    It works great in chrome, good enough in firefox but is a disaster in internet explorer. The google earth portion just has text that says "ATL 8.0" in IE, and it opens a new window titled: __bridge_child_windo...

    Any advice would be greatly appreciated.

    I am likely doing all sorts of things wrong.

  2. #2
    Sencha User Mycoding's Avatar
    Join Date
    May 2010
    Location
    Russia, Volgograd
    Posts
    460

    Default

    Maybe is it Google Earth bug?

    I think you should first try to run Google Earth in IE without ExtJS.

    I have to say I really interested in your try.
    If you could do it, please place simple code here.

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    3

    Default

    Oh, the google earth api works totally fine in all the popular browsers when you just throw it in a div as described in the google earth api documentation.

    I've been dealing with google earth api stuff for quite some time now and never seen this behavior. I have seen this extjs extension allowing it to work in extjs:
    http://thematicmapping.org/ext-js-google-earth-api/example.html

    However, I would rather stick with using the standard google api.

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    1

    Default I have the same problem

    Has anybody found answer to this thread? I have the same problem, except that Google Earth panel writes ATL 10.00 and not 8.0 as with the above user.
    It happens only in Explorer (I checked versions 8 and 9)

    Thanks.

  5. #5

    Default

    Even the latest browser (IE9) released by Microsoft does not support HTML5 100%. The Google Earth plugin that runs fine on Chrome browser, may not run on IE9 if you have not specified xlmns attribute in html tag and Doctype declaration for xhtml on the top.

    If you're getting ATL 10.00 with a white background when using HTML5, you need to do this in order for it to work on IE9:
    Replace html5 doctype with this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">Namaste !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •