我在html中使用iframe
标记来查找我的位置,如下所示
<iframe src="https://maps.google.com/maps?q=The+HSR+Club,+Sector+3,+HSR+Layout,+Bangalore,+Karnataka,+India&hl=en&ll=12.909714,77.642698&spn=0.006118,0.010568&sll=12.909183,77.643233&sspn=0.012235,0.021136&oq=hsr+clu&hq=The+HSR+Club,&hnear=Sector+3,+HSR+Layout,+Bangalore,+Bangalore+Urban,+Karnataka,+India&t=m&z=17">
</iframe>
但是我无法回复我的位置,任何人都可以帮助我。
答案 0 :(得分:1)
您必须使用Google地图创建iframe:
答案 1 :(得分:0)
您似乎正在尝试嵌入地图。
使用以下代码
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d3888.9689995823414!2d77.642698!3d12.909714!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bae149a65e7dee1%3A0x810597b1e168269f!2sThe+HSR+Club!5e0!3m2!1sen!2s!4v1393761259831" width="600" height="450" frameborder="0" style="border:0"></iframe>
答案 2 :(得分:0)
如果您想在您的网站上加入地图,请使用Google地图中生成的Link这将对您有所帮助,
以下是我可以从Google地图获取的工作链接:在Iframe
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?q=The+HSR+Club,+Sector+3,+HSR+Layout,+Bangalore,+Karnataka,+India&hl=en&sll=12.909183,77.643233&sspn=0.012235,0.021136&oq=hsr+clu&hq=The+HSR+Club,&hnear=Sector+3,+HSR+Layout,+Bangalore,+Bangalore+Urban,+Karnataka,+India&t=m&ie=UTF8&ll=12.909714,77.642698&spn=0.006118,0.010568&output=embed"></iframe>
如何实现: