googlemapsを貼付けるときにインフォウィンドウを表示させない簡単な方法

11月 2nd, 2011

お客様のサイトを制作するときに、googlemapsを使うことが多々あるのですが、その度にインフォウィンドウが邪魔になります。

表示させない方法は超〜簡単だったのでメモとして。

<iframe width=”540″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.co.jp/maps?xxxxxxxxxxxxxxxxxxxxxx=embed”>

の最後に「&iwloc=」を入れるだけ。

こうなります。

<iframe width=”540″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.co.jp/maps?xxxxxxxxxxxxxxxxxxxxxx=embed&iwloc=“>

 

これでインフォウィンドウはdefaultでは表示されません。

 

ね、簡単でしょ。

メモでした。

http://www.makeit-p.com/job/885/trackback/

Leave a Reply