简体   繁体   English

Google嵌入API自定义标题

[英]Google Embed API custom title

How can i tell the Google Embed API that i want to show a custom title instead of the coordinates i send as the q parameter? 我如何告诉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>

This documentation is very limited and i believe there must be more options available: https://developers.google.com/maps/documentation/embed/guide 此文档非常有限,我相信必须提供更多选项: https//developers.google.com/maps/documentation/embed/guide

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

<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">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM