{"id":210,"date":"2008-06-04T21:25:20","date_gmt":"2008-06-04T13:25:20","guid":{"rendered":"http:\/\/www.behindgfw.com\/archives\/?p=210"},"modified":"2019-06-21T16:17:42","modified_gmt":"2019-06-21T08:17:42","slug":"google-earth-in-browser","status":"publish","type":"post","link":"https:\/\/www.behindgfw.com\/archives\/2008\/06\/google-earth-in-browser.html","title":{"rendered":"\u6d4f\u89c8\u5668\u4e2d\u7684GOOGLE\u5730\u7403"},"content":{"rendered":"<p>Google\u521a\u521a\u516c\u5e03\u4e86\u4e00\u9879\u65b0\u7684<a href=\"http:\/\/google-latlong.blogspot.com\/2008\/05\/google-earth-meet-browser.html\">\u6d4f\u89c8\u5668\u63d2\u4ef6<\/a>\uff0c\u8ba9\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u4ece\u6d4f\u89c8\u5668\u4e2d\u542f\u52a8Google Earth\uff0c\u5c31\u50cf\u4ee5\u524d\u7684Google Maps\u4e00\u6837\u3002\u5f00\u53d1\u4eba\u5458\u901a\u8fc7<a href=\"http:\/\/code.google.com\/apis\/earth\/documentation\/index.html\">API<\/a>\u4e66\u5199\u7b80\u5355\u7684javascript\u811a\u672c\uff0c\u5c31\u53ef\u4ee5\u5c06Google Earth\u6574\u5408\u8fdb\u4ed6\u4eec\u7684\u7f51\u9875\u3002\u4e0d\u8fc7\u663e\u7136\u73b0\u5728\u8fd8\u6ca1\u6709\u4eba\u5b89\u88c5\u8fc7\u6b64\u63d2\u4ef6\uff0c\u56e0\u6b64\u8fdb\u5165\u5305\u542b\u8be5javascript\u811a\u672c\u7684\u9875\u9762\u65f6\uff0c\u5c06\u63d0\u793a\u5b89\u88c5\u63d2\u4ef6\uff0c\u8fd9\u662f\u4e00\u79cd\u5e38\u89c1\u548c\u53ef\u4ee5\u63a5\u53d7\u7684\u505a\u6cd5\u3002\u76ee\u524d\u652f\u6301\uff1a<br \/>\n#   IE 6.0 +<br \/>\n# IE 7.0+<br \/>\n# Firefox\u76842.x\u62162.0x \uff08 Firefox\u76843.0\u652f\u6301\u5373\u5c06\u63a8\u51fa\uff09<br \/>\n# Netscape 7.1\u4ee5\u4e0a\u7248\u672c<br \/>\n# Mozilla 1.4\u53ca\u4ee5\u4e0a\u7248\u672c<br \/>\n# Flock 1.0\u4ee5\u4e0a\u7248\u672c<\/p>\n<p>\u53ef\u4ee5\u5728\u8fd9\u91cc\u8bbf\u95ee\u5b98\u65b9\u7684<a href=\"http:\/\/code.google.com\/apis\/earth\/documentation\/examples.html\">\u4f8b\u7a0b<\/a>.<br \/>\n\u901f\u5ea6\u4ee4\u4eba\u6cae\u4e27\uff0c\u4e0d\u8fc7\u5237\u65b0\u7f51\u9875\u540e\u901f\u5ea6\u663e\u7136\u63d0\u9ad8\u4e0d\u5c11\u3002<br \/>\n\u76f8\u4fe1\u4e0d\u4e45\u540e\u4f1a\u6709\u4eba\u5199\u51fa\u7edd\u5999\u8d85\u9177\u7684\u5e94\u7528\u3002<\/p>\n<p>\u5982\u679c\u4f60\u662f\u901a\u8fc7RSS\u9605\u8bfb\u672c\u6587\uff0cJavascript\u811a\u672c\u5c06\u4e0d\u80fd\u8fd0\u884c\uff0c\u53ef\u4ee5\u70b9\u51fb<a href=\"http:\/\/www.behindgfw.com\/archives\/2008\/06\/google-earth-in-browser.html\">\u8fd9\u91cc<\/a>\u770b\u539f\u6587\uff0c\u56fe\u793a\u533a\u57df\u4e3a\u6211\u56fd\u6700\u957f\u7684\u8de8\u6d77\u5927\u6865 &#8211; \u676d\u5dde\u6e7e\u5927\u6865\u3002<br \/>\n  <script type=\"text\/javascript\" src=\"https:\/\/maps.google.com\/maps?file=api&amp;v=2&amp;key=ABQIAAAA43IALmfadaZgVb1L-IEizRR9P8Vhqqz9E_dSajpohoFx1hyAThSfmRCtUpJMQGqDCZR_CjFr3zicrg\">\n  <\/script><\/p>\n<div id=\"map\" style=\"width: 450px; height: 350px;\"><\/div>\n<p>  <script type=\"text\/javascript\">\n  function init() {\n  if (GBrowserIsCompatible()) {\n      var map = new GMap2(document.getElementById(\"map\"));\n      map.setCenter(new GLatLng(30.5604, 121.050), 17);\n      map.addMapType(G_SATELLITE_3D_MAP);\n      map.addControl(new GHierarchicalMapTypeControl());\n     \/\/ Uncomment the following line to start the map with 3D enabled.\n     \/\/ map.setMapType(G_SATELLITE_3D_MAP);\n\t  map.setMapType(G_SATELLITE_MAP);\n     \/\/ Obtain a pointer to the Google Earth instance attached to\n     \/\/ your map.\n     \/\/map.getEarthInstance(getEarthInstanceCB);\t\n     \/\/var ge;\n     \/\/function getEarthInstanceCB(object) {\n     \/\/ge = object;\n     \/\/ You can now manipulate ge using the full Google Earth API.\n     \/\/ }  \n  }\n  };\n   \/* for Mozilla *\/\n   if (document.addEventListener) {\n       document.addEventListener(\"DOMContentLoaded\", init, null);\n   }\n   \/* for Internet Explorer *\/\n   \/*@cc_on @*\/\n   \/*@if (@_win32)\n   init\n   \/*@end @*\/\n   \/* for other browsers *\/\n   window.onload = init;\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google\u521a\u521a\u516c\u5e03\u4e86\u4e00\u9879\u65b0\u7684\u6d4f\u89c8\u5668\u63d2\u4ef6\uff0c\u8ba9\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u4ece\u6d4f\u89c8\u5668\u4e2d\u542f\u52a8Google Earth\uff0c\u5c31\u50cf\u4ee5\u524d\u7684Go [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[69,21],"class_list":["post-210","post","type-post","status-publish","format-standard","hentry","category-webdev","tag-google","tag-javascript"],"_links":{"self":[{"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":1,"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/posts\/210\/revisions"}],"predecessor-version":[{"id":928,"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/posts\/210\/revisions\/928"}],"wp:attachment":[{"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/categories?post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.behindgfw.com\/archives\/wp-json\/wp\/v2\/tags?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}