<div class="map">
<iframe width="100%" height="175" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.in/maps?f=q&source=s_q&hl=en&geocode=&q=Lighthouse+Point,+FL,+United+States&aq=4&oq=light&sll=26.275636,-80.087265&sspn=0.04941,0.104628&ie=UTF8&hq=&hnear=Lighthouse+Point,+Broward,+Florida,+United+States&t=m&z=14&ll=26.275636,-80.087265&output=embed"></iframe><br><small><a href="https://maps.google.co.in/maps?f=q&source=embed&hl=en&geocode=&q=Lighthouse+Point,+FL,+United+States&aq=4&oq=light&sll=26.275636,-80.087265&sspn=0.04941,0.104628&ie=UTF8&hq=&hnear=Lighthouse+Point,+Broward,+Florida,+United+States&t=m&z=14&ll=26.275636,-80.087265" style="color:#777;text-align:left;font-size:0.85em">View Larger Map</a></small>
</div>
在上面的代码中
这会将您的两个地图都指向篮球场
<div class="map">
<iframe width="100%" height="175" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d7326.773276182955!2d75.046929!3d23.338003!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xdc7e2bda17b6799e!2sRailway+Basketball+Court!5e0!3m2!1sen!2sin!4v1398926727930" ></iframe>
<br>
<small>
<a href="https://www.google.co.in/maps/place/Railway+Basketball+Court/@23.338003,75.046929,16z/data=!4m2!3m1!1s0x0:0xdc7e2bda17b6799e" style="color:#777;text-align:left;font-size:0.85em">View Larger Map</a>
</small>
</div>
您也可以在Google地图上打开右下角的齿轮时打开它,打开下拉菜单转到“共享和嵌入地图”,然后单击“嵌入地图”,它将为您生成iframe。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句