簡體   English   中英

Google在地圖上嵌入了事實和旅游信息的地方

[英]Google maps places embedding quick facts and tourist information

我需要在網站內包含Google地圖位置。 他們希望它看起來像:

這種地圖

是否可以使用Javascript API嵌入?

是的,Google Maps支持iframe(iframe可讓您將文檔嵌入HTML)

<iframe width="600" height="450" frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/place?q=...&key=..." allowfullscreen></iframe> 

Google Maps文檔

iframe文檔

編輯:

此外, 該站點還將生成您只需要選擇框架大小,位置和地圖類型的鏈接。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM