« 7月20日の行動 | メイン | カレーそぼろ丼 » 2005年07月20日 [技術] Ajaxサンプル with Google Maps Ajaxサンプルの第二弾が完成した。第一弾を拡張して、番号を2桁入力した時点で、マッチする山情報をプルダウンして、マウスでクリックもしくはカーソル移動+リターンで確定し、その山のGoogle Mapsを表示します。このサンプルを作成するにあたり参考にしたのは、map.rails2u.comです。(つぅーか、JavaScriptはかなりパクリました) Google Mapsの方は、マップが表示されるようになっていますが、マップ右上の「サテライト」をクリックすると人工衛星写真に切り替わります。ちなみに地図はマウスでがんがんスクロールしますので、遊んでみてください。(ちゅーか、こっちがAjaxの本家本元のお手本ですね) さて、このサンプルプログラムをつく