{"id":149,"date":"2009-07-01T05:06:46","date_gmt":"2009-07-01T03:06:46","guid":{"rendered":"http:\/\/www.lviz.org\/?p=149"},"modified":"2009-07-15T15:13:18","modified_gmt":"2009-07-15T13:13:18","slug":"google-earth-api-embeddebable-kml-wo-javascript","status":"publish","type":"post","link":"http:\/\/lviz.org\/?p=149","title":{"rendered":"Google Earth API: Embeddable KML w\/o JavaScript"},"content":{"rendered":"<p>At the Google I\/O 2009 new features of the Google API were introduced:<br \/>\n<a href=\"http:\/\/www.youtube.com\/watch?v=H7fxHp7oHcI\">http:\/\/www.youtube.com\/watch?v=H7fxHp7oHcI<\/a><\/p>\n<p>Among others, the GoogleEarth Plugin was further developed. With this plugin, you can embed GoogleEarth contents in normal websites. With the help of the following Google Gadget, this is now pretty simple: <a href=\"http:\/\/tr.im\/embedkml\">http:\/\/tr.im\/embedkml<\/a>.<\/p>\n<p>For the following very simple example, I used an overview of Canadian Universities. However, I also tried this technique with very large and complex kml files and it worked as well. The Google developer forum gives more information which features of GoogleEarth are included already and which are not.<\/p>\n<p><script src=\"http:\/\/www.gmodules.com\/ig\/ifr?url=http:\/\/code.google.com\/apis\/kml\/embed\/embedkmlgadget.xml&amp;up_kml_url=http%3A%2F%2Fwww.google.ca%2Furl%3Fsa%3Dt%26source%3Dweb%26ct%3Dres%26cd%3D1%26url%3Dhttp%253A%252F%252Fexplorer.altopix.com%252Fmaps%252F239%252F233%252FUrban_Canada.kml%253Forder%253D%26ei%3DcNFKSqjwBcu8lAfxob0X%26usg%3DAFQjCNG7M5tZdFecl5KQlIFWop-0AHpUwg%26sig2%3DeNKPOHNgq9QUu_gR5fivJA&amp;up_view_mode=earth&amp;up_earth_2d_fallback=0&amp;up_earth_fly_from_space=1&amp;up_earth_show_nav_controls=1&amp;up_earth_show_buildings=1&amp;up_earth_show_terrain=1&amp;up_earth_show_roads=1&amp;up_earth_show_borders=0&amp;up_maps_zoom_out=0&amp;up_maps_default_type=map&amp;synd=open&amp;w=450&amp;h=300&amp;title=Embedded+KML+Viewer&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js\"><\/script><\/p>\n<div class=\"simple_likebuttons_container_small\">\r\n      <div class=\"simple_likebuttons_facebook\">\r\n        <div id=\"fb-root\"><\/div>\r\n        <script>(function(d, s, id) {\r\n          var js, fjs = d.getElementsByTagName(s)[0];\r\n          if (d.getElementById(id)) {return;}\r\n          js = d.createElement(s); js.id = id;\r\n          js.src = \"\/\/connect.facebook.net\/en_US\/all.js#xfbml=1\";\r\n          fjs.parentNode.insertBefore(js, fjs);\r\n        }(document, \"script\", \"facebook-jssdk\"));<\/script>\r\n        <div class=\"fb-like\" data-href=\"http:\/\/lviz.org\/?p=149\" data-send=\"false\" data-layout=\"button_count\" data-show-faces=\"false\" data-width=\"90\"><\/div>\r\n      <\/div>\r\n    \r\n      <div class=\"simple_likebuttons_twitter simple_likebuttons_twitter_s\">\r\n        <a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-count=\"none\" data-url=\"http:\/\/lviz.org\/?p=149\" data-lang=\"en\">Tweet<\/a>\r\n      <\/div>\r\n    \r\n      <div class=\"simple_likebuttons_googleplus\">\r\n        <g:plusone size=\"medium\" count=\"false\" href=\"http:\/\/lviz.org\/?p=149\"><\/g:plusone>\r\n      <\/div>\r\n    \r\n      <div class=\"simple_likebuttons_linkedin simple_likebuttons_linkedin_s\">\r\n        <script type=\"IN\/Share\" data-url=\"http:\/\/lviz.org\/?p=149\" data-counter=\"right\"><\/script>\r\n      <\/div>\r\n    \r\n      <div class=\"simple_likebuttons_xing simple_likebuttons_xing_s\">\r\n        <script data-url=\"http:\/\/lviz.org\/?p=149\" data-lang=\"de\" data-counter=\"right\" type=\"XING\/Share\"><\/script>\r\n        <script>\r\n          ;(function(d, s) {\r\n            var x = d.createElement(s),\r\n              s = d.getElementsByTagName(s)[0];\r\n            x.src ='https:\/\/www.xing-share.com\/js\/external\/share.js';\r\n            s.parentNode.insertBefore(x, s);\r\n          })(document, 'script');\r\n        <\/script>\r\n      <\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>At the Google I\/O 2009 new features of the Google API were introduced: http:\/\/www.youtube.com\/watch?v=H7fxHp7oHcI Among others, the GoogleEarth Plugin was further developed. With this plugin, you can embed GoogleEarth contents in normal websites. With the help of the following Google Gadget, this is now pretty simple: http:\/\/tr.im\/embedkml. For the following very simple example, I used [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[23],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-software","tag-googleearth"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/lviz.org\/index.php?rest_route=\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/lviz.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/lviz.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/lviz.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/lviz.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149"}],"version-history":[{"count":5,"href":"http:\/\/lviz.org\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions"}],"predecessor-version":[{"id":157,"href":"http:\/\/lviz.org\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions\/157"}],"wp:attachment":[{"href":"http:\/\/lviz.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/lviz.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/lviz.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}