Announcing Deprecation Of The Google Earth API

Hay Friends Of Bitter, Bitter Coffee Park this Time will invite you in the stile of the chat coffe shops on:
Announcing Deprecation Of The Google Earth API
Hello Google Earth!
Hello, Earth!

For Friday, December 12, 2014, Over six years ago we introduced the Google Earth API, enabling developers to build rich 3D mapping applications in the browser, using JavaScript. And over the years, developers have built quite a number of fascinating applications.
However, the Earth API is built on a technology called the NPAPI plugin framework, and recently, for security reasons, both Chrome and Firefox have announced they’re removing support for this framework. These security reasons, combined with dwindling cross-platform support (particularly on mobile devices), had made building applications that leverage the Earth API untenable for developers.

Therefore, after careful consideration, we have decided to retire the Google Earth API. Per our deprecation policy, the API will be supported until one year from today and will be turned off on December 12, 2015.

For the duration of the deprecation period, the set of supported browsers is as follows. Because of the recent Chrome and Firefox announcements, support on those browsers extends only to the latest browser version that supports NPAPI.

1. Microsoft Windows (XP, Vista, 7, and 8)

  • Google Chrome 5.0-39.0 (32-bit)
  • Internet Explorer 7-9, and 10-11 with Compatibility View (32-bit) (Note that the Windows 8 browsing modewith Internet Explorer does not support plugins.)
  • Firefox 11.0-34.0

2. Apple Mac OS X 10.6 or later (any Intel Mac)

  • Google Chrome 5.0-39.0 (32-bit)
  • Safari 3.1+Firefox 11.0-34

Google Earth has a proud legacy, which continues with the new Google Earth for Android, powered by a brand new renderer. 3D is in our blood, and while we can’t announce anything just now, we look forward to sharing more exciting product news in the future.
☆☆☆☆☆
Earth And JavaScript, Together At Last
By now, many of you have heard about the new Google Earth API that we announced Wednesday during Google I/O. It's exciting that you can now enjoy the 3D Google Earth experience in the browser, and you can create your own custom interactive apps on top of it. This new API lets you use JavaScript to programmatically interact with the Earth browser, changing camera views, loading KML or 3D models, or even creating KML objects from scratch.

Here's your basic "Hello Earth" app:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<head>
<title>Hello Google Earth!</title>
<!-- *** Replace the key below below with your own API key, available at http://code.google.com/apis/maps/signup.html *** -->
<script src="http://www.google.com/jsapi?key=abcd"></script>
<script>
google.load("earth", "1");

var ge = null;

function init() {
  google.earth.createInstance("map3d", initCallback, failureCallback);
}

function initCallback(object) {
  ge = object;
  ge.getWindow().setVisibility(true);
}

function failureCallback(object) {
  // Gracefully handle failure.
}
</script>
</head>

<body onload='init()' id='body'>
<center>
 <div>
   Hello, Earth!
 </div>

 <div id='map3d_container'
      style='border: 1px solid silver; height: 600px; width: 800px;'>
   <div id='map3d' style='height: 100%;'></div>
 </div>
</center>

</body>
</html>

And, if you're already a Google Maps API developer, adding Google Earth to your mashup is really easy. Just add the following line:

map.addMapType(G_SATELLITE_3D_MAP);

To view apps written in the Earth API, you will have to download a browser plug-in. Currently, the plug-in is Windows only, and works on Mozilla and Internet Explorer based browsers, including Firefox. We are working to expand the number of browsers, and have announced Mac and Linux plug-ins will be released in August.

Check out the cool sample apps. If you have any questions or come across any problems, post them in our Earth API developer group.
☆☆☆☆☆

No comments:

Post a Comment

Obrolan yang baik bukan hanya sebuah obrolan yang mengkritik saja, tetapi juga memberi saran dan dimana saran dan kritik tersebut terulas kekurangan dan kelebihan dari saran dan kritik.

BERIKAN OPINI SAHABAT BITTER TENTANG TULISAN TERSEBUT