Javascript無しで利用することができるスタティック版のGoogle map APIのバージョンが上がっていたのを今日知った。
Welcome to the developer documentation for the Google Static Maps API!
The Google Static Maps API lets you embed a Google Maps image on your webpage without requiring JavaScript or any dynamic page loading.
code.google.com10 Users3 Pocketshttp://code.google.com/intl/en/apis/maps/documentation/staticmaps/http://code.google.com/intl/en/apis/maps/documentation/staticmaps/
V1との違いは以下の通り*1
で、V1とAPIのインターフェースの違いは
- エントリポイント変更
- ピン(マーカー)の設定方法変更
- V1 : markers=緯度,経度,マーカーの色とマーカー上の文字
- V2 : markers=color:(色)|label:(マーカー上の文字)|(緯度),(経度)
等々。V2の方がパラメータが細かくなっているけど、極端に大きくは変わっていないかな。
APIのKeyが不要になったのは大きい。
*1:ざっくりドキュメント読んだ範囲
某Aアナウンサーが、自分のことが新聞に載ったときに、心の中でながれてたBGMは、ビリー・バンバンでしたっけ?(こんなタイトルだったような(^_^;))