v2 では、 getBoundsZoomLevel を使えばよかったのですが、v3 ではなくなってしまいました。仕方がないので、この機能を使う部分だけは v2 のままでいたのですが、いつの間にか代替機能が追加されていました(この機能に気づく前に、Google Maps API V3ではgetBoundsZoomLevelが使えないを参考に v3 対応させたのですが、以下で紹介する方法のほうが通常は簡単)。 XMLからのデータ読み込みと併せてご紹介します。 マーカーの XML は、こんな感じで準備しておきます。 <?xml version="1.0" encoding="UTF-8"?> <markers> <marker name="マーカーA" lat="34.6981457" lon="135.5071395"/> <marker name="マーカーB" lat="34.698068