Google Map APIのバージョン指定

突然GPolyline.fromEncodedがブラウザを固めるようになってしまい何事かと調べていたら、
Google Map APIのv=2が3/10日付けで2.151に更新されていて、その際にデグレしていたことが原因だった。
Google グループ


今回調べていて初めて知ったのだが、v=2は「v2系でできるだけ新しくてほどほどに安定したバージョンを使います」という意味になるらしい。

  • v=2 This is the version the vast majority of mashups will use, its basically saying 'give me the latest good version', you might not get the very latest features, but if this version does everything you need, use it!

http://groups-beta.google.com/group/Google-Maps-API/web/javascript-maps-api-versioning


今後はv=2.sにしつつ、以下で影響範囲に更新が入っていないかウォッチした方がよさげ。
Google グループ
あんまり頻繁に更新が入ると運用がめんどくさい。