Google嵌入API自定义标题

时间:2014-09-15 17:02:46

标签: google-maps

我如何告诉Google Embed API我想显示自定义标题而不是我作为q参数发送的坐标?

<iframe width="400" height="400" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/search?key=321&q=37.4218,-122.0840&zoom=18&maptype=satellite">
</iframe>

此文档非常有限,我相信必须有更多选项: https://developers.google.com/maps/documentation/embed/guide

1 个答案:

答案 0 :(得分:-1)

在括号中添加标题,如下所示:

<iframe width="400" height="400" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/search?key=321&q=37.4218,-122.0840+(My%20Business%20Name)&zoom=18&maptype=satellite">