Another day, another hack. Here's a demo that controls Google Maps using ThinkPad Hard Drive Active Protection sensor. You tilt your ThinkPad and Google Maps roll over. Pretty cool.
というわけで ThinkPad ハックづいてるこの頃(といっても2日ですが)、また面白いハックを1つ。Google Maps の地図を、ThinkPad を傾けてナビゲートします。まずはデモをどうぞ。
My recommendation is to choose Satellite mode, with the 3rd Zoom level. It makes me feel like flying in the sky, just as birds. Because of Google Maps JS library prefetching images, sometimes you have a delay (latency) moving, but other than that, it is quite fantastic.
サテライトでズームは最大から3つ目ぐらいが最適。空を飛んでいる鳥の気分になれます。ちょっと Gmaps のローディングで遅延があったりしますが、それ以外は快適の一言。
The code is available here in my svn repository. Note that because it uses ActiveX, you need to download the gmaps.html locally and open it with Windows IE. The app is written in JavaScript (using Google Maps API) and ActivePerl's PerlScript inside Windows IE. You need to install Win32API-File CPAN module (use ppm to install) before running it.
コードは こちら からダウンロードできます。ActiveX を使うので、ブラウザ上でそのまま動かすことはできません。gmaps.html をダウンロードして WinIE で開いてください。ドライブプロテクションのついた ThinkPad, ActivePerl (PerlScript が有効になっている必要あり) に Win32API-File が必要です (ppm でインストールできます)。IE で <script language="PerlScript"> の中から ShockMgr を開いて、JavaScript に返して GMaps を pan してます。IE だからできるワザ。
Enjoy!
Here’s a demo that controls Google Maps using ThinkPad Hard Drive Active Protection sensor.
Posted by: admin www.reality-eu.com | 2007.01.07 at 13:19
Control the level of transparency with the slider Submit
Posted by: admin of http://enet.sk | 2007.02.05 at 11:33
The internet continues to amaze me. People took a great feature You can literally fly over Google Maps with your ThinkPad http://forexclub.blogsome.com
Posted by: lotar32 | 2007.03.26 at 04:20
Awesome hack! But i can't seem to get it to work. Installed win32api-file, and am running ActivePerl. Is there some spec or step I'm missing?
Posted by: j0x0c0 | 2007.11.17 at 02:38
nice hack!
Posted by: reference | 2009.02.04 at 14:08
Hello
Posted by: Account Deleted | 2009.02.10 at 17:24
Great hack!
Posted by: sara wein | 2010.12.17 at 03:39