google maps how can I zoom out by default? -
i created new google map , added few markers when include in code iframe starts zoom 17 , want zoomed out max (z=20). tried pass argument z=20 no result. suggestions? code:
<iframe width="425" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps/ms?msa=0&msid=204116165110023160774.0004d7aa572501051bc40&ie=utf8&ll=37.020098,-95.625&spn=116.710475,270.527344&t=m&output=embed"></iframe>
you can when create map :
var map = new google.maps.map(map, { zoom: 20, center: latlng, maptypeid: google.maps.maptypeid.roadmap });
Comments
Post a Comment