2015-10-18 51 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

相关问题