7/05/2005

Google Earth Hacks

うひょひょ、こりゃおもしろい。
こんなXMLを用意してamazon.kmlとかいう名前で保存して、ファイルをダブルクリック!

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
  <Placemark>
    <name>Amazon.com HQ</name>
    <description>
<![CDATA[
Amazon.com
<br />
<a href="http://www.flickr.com/photos/luckypines/18787993/">View at Flickr</a><br />
]]>
    </description>
    <LookAt>
      <longitude>-122.315962</longitude>
      <latitude>47.592736</latitude>
      <range>100</range>
      <tilt>30</tilt>
      <heading>45</heading>
    </LookAt>
    <visibility>1</visibility>
    <styleUrl>root://styleMaps#default?iconId=0x307</styleUrl>
    <Style>
      <Icon><href>http://photos15.flickr.com/18787993_a954110acc_t.jpg</href></Icon>
    </Style>
    <Point>
      <coordinates>-122.315962,47.592736,25</coordinates>
    </Point>
  </Placemark>
</kml>

0 件のコメント: