2015-10-18 54 views
1

有沒有什麼辦法來控制目標標題,而嵌入地圖與iframe?對於origin我使用郵政編碼(這可以很好地顯示),但對於destination無論我使用,lat-lonStore name + address + town + country,我得到錯誤的目的地標題80%或案件。我想爲Destination顯示我自己的標題,有可能嗎?我可以在iframe中控制目標標題嗎?

這裏是例如嵌入代碼(docs):

<iframe 
    src="https://www.google.com/maps/embed/v1/directions?key=MYKEY&amp;origin=ORIGIN&amp;destination=DESTINATION" 
></iframe> 

我想控制什麼:

enter image description here

回答

0

嘗試增加它在括號中像這樣:

<iframesrc="https://www.google.com/maps/embed/v1/directions?key=MYKEY&amp;origin=ORIGIN&amp;destination=DESTINATION+(My%20Business%20Name)"></iframe> 
+0

啊,很久以前,現在無法檢查,希望它有效嗎? – skobaljic

相關問題