Blog

Remove white box in Google maps

By December 13, 2012December 3rd, 2013No Comments




boxgooglemaps

To remove the annoying white box in Google Maps simply add “&iwloc=near” after “output=embed” in the html in the src=”…” code.

For example

Change

<iframe width=”250″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”https://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;
q=bingley++fencing+ltd&amp;aq=&amp;sll=53.843417,-1.840559&amp;sspn=0.054995,0.169086&
amp;ie=UTF8&amp;hq=bingley++fencing+ltd&amp;hnear=&amp;t=m&amp;ll=53.836525,-1.824074&
amp;spn=0.060778,0.085487&amp;z=12&amp;iwloc=A&amp;output=embed”></iframe><br /><small><a href=”https://maps.google.co.uk/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=bingley++fencing+ltd&amp;aq=&
amp;sll=53.843417,-1.840559&amp;sspn=0.054995,0.169086&amp;ie=UTF8&amp;
hq=bingley++fencing+ltd&amp;hnear=&amp;t=m&amp;ll=53.836525,-1.824074&amp;
spn=0.060778,0.085487&amp;z=12&amp;iwloc=A” style=”color:#0000FF;text-
align:left”>View Larger Map</a></small>

To..

<iframe width=”250″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”https://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=bingley++fencing+ltd&amp;aq=&
amp;sll=53.843417,-1.840559&amp;sspn=0.054995,0.169086&amp;ie=UTF8&amp;
hq=bingley++fencing+ltd&amp;hnear=&amp;t=m&amp;ll=53.836525,-1.824074&
amp;spn=0.060778,0.085487&amp;z=12&amp;iwloc=A&amp;output=embed&amp;iwloc=near“></iframe><br /><small><a
href=”https://maps.google.co.uk/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=bingley++fencing+ltd&
amp;aq=&amp;sll=53.8434
17,-1.840559&amp;sspn=0.054995,0.169086&amp;ie=UTF8&amp;
hq=bingley++fencing+ltd&amp;hnear=&amp;t=m
&amp;ll=53.836525,-1.824074&amp;spn=0.060778,0.085487&amp;z=12&amp;iwloc=A”
style=”color:#0000FF;text-
align:left”>View Larger Map</a></small>

Caleb O'Loan

Author Caleb O'Loan

More posts by Caleb O'Loan