How to set a Zoom on Google Maps Embed Code?

by grey38
2 replies
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp ;q=4680+Crain+Hwy+White+Plains,+MD+20695&amp;aq=&a mp;sll=37.0625,-95.677068&amp;sspn=43.528905,76.025391&amp;ie=UTF8 &amp;hq=&amp;hnear=4680+Crain+Hwy,+White+Plains,+M aryland+20695&amp;t=m&amp;ll=38.582526,-76.948929&amp;spn=0.093933,0.145912&amp;z=12&amp;i wloc=A&amp;output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&a mp;q=4680+Crain+Hwy+White+Plains,+MD+20695&amp;aq= &amp;sll=37.0625,-95.677068&amp;sspn=43.528905,76.025391&amp;ie=UTF8 &amp;hq=&amp;hnear=4680+Crain+Hwy,+White+Plains,+M aryland+20695&amp;t=m&amp;ll=38.582526,-76.948929&amp;spn=0.093933,0.145912&amp;z=12&amp;i wloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>

Where in this code can I set a default zoom level so my map will show up more zoomed out? thanks in advance!
#code #embed #google #maps #set #zoom
  • Profile picture of the author SoftwareGeek
    Originally Posted by grey38 View Post

    <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp ;q=4680+Crain+Hwy+White+Plains,+MD+20695&amp;aq=&a mp;sll=37.0625,-95.677068&amp;sspn=43.528905,76.025391&amp;ie=UTF8 &amp;hq=&amp;hnear=4680+Crain+Hwy,+White+Plains,+M aryland+20695&amp;t=m&amp;ll=38.582526,-76.948929&amp;spn=0.093933,0.145912&amp;z=12&amp;i wloc=A&amp;output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&a mp;q=4680+Crain+Hwy+White+Plains,+MD+20695&amp;aq= &amp;sll=37.0625,-95.677068&amp;sspn=43.528905,76.025391&amp;ie=UTF8 &amp;hq=&amp;hnear=4680+Crain+Hwy,+White+Plains,+M aryland+20695&amp;t=m&amp;ll=38.582526,-76.948929&amp;spn=0.093933,0.145912&amp;z=12&amp;i wloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>

    Where in this code can I set a default zoom level so my map will show up more zoomed out? thanks in advance!
    Look for "z=" in the code. In the code above there is "z=12". Change it "z=6", for example, to see a zoomed out map.
    {{ DiscussionBoard.errors[8663274].message }}
    • Profile picture of the author David Beroff
      Also be aware that the sll/sspn parameters reveal where you were looking, which is not always something that you want to show.
      Signature
      Put MY voice on YOUR video: AwesomeAmericanAudio.com
      {{ DiscussionBoard.errors[8664117].message }}

Trending Topics