Google Maps确实很昂贵,并且每个API请求都会使您大吃一惊。有免费的替代品吗?还是我错误配置了地图API?
答案 0 :(得分:4)
您可以考虑免费使用Google Maps Embed API -Basic。这是带有标记位置的基本地图的示例:
<iframe
width="600"
height="450"
frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/place?key=AIzaSyAMkCFYbtHQUzcqUcmk4J2jXoq8M6T-6U4&q=1600 Amphitheatre Parkway
Mountain View, CA 94043" allowfullscreen>
</iframe>