谷歌地图位置不在用户视图中

时间:2014-02-24 13:47:37

标签: javascript google-maps

我的网站上有谷歌地图。我把它加载到弹出窗口。 但是当我加载它时,位置不在中心。我需要滚动 地图。如果有任何不妥之处。如果有人知道这一点。请帮我。 我是新来的。

  <div class="modal-header">
  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;      </button>
  <h4 class="modal-title" id="map-title">Australia</h4>
   </div>
   <div class="modal-body" style="padding-right: 0;padding-left: 25px;">
   <iframe width="96%" height="350" frameborder="0" scrolling="no" marginheight="0"   marginwidth="0" src="https://maps.google.co.in/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=32+Martin+Place,+Sydney,+New+South+Wales,+Australia&amp;aq=0&amp;oq=32+Martin+Place&amp;sll=-33.872954,151.205488&amp;sspn=0.005336,0.009645&amp;ie=UTF8&amp;hq=&amp;hnear=32+Martin+Pl,+Sydney+New+South+Wales+2000,+Australia&amp;ll=-33.867659,151.209329&amp;spn=0.005336,0.009645&amp;t=m&amp;z=14&amp;output=embed"></iframe><br /><small><a href="https://maps.google.co.in/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=32+Martin+Place,+Sydney,+New+South+Wales,+Australia&amp;aq=0&amp;oq=32+Martin+Place&amp;sll=-33.872954,151.205488&amp;sspn=0.005336,0.009645&amp;ie=UTF8&amp;hq=&amp;hnear=32+Martin+Pl,+Sydney+New+South+Wales+2000,+Australia&amp;ll=-33.867659,151.209329&amp;spn=0.005336,0.009645&amp;t=m&amp;z=14" style="color:#0000FF;text-align:left">View Larger Map</a></small>
  </div>

0 个答案:

没有答案