How to use google maps simple api on localhost

后端 未结 3 973
陌清茗
陌清茗 2020-12-28 17:25

I have requested a link for embedding google maps on my website on

https://developers.google.com/maps/documentation/embed/start

and have au

3条回答
  •  抹茶落季
    2020-12-28 18:08

    The problem was that they have their "quick start" out of date.

    https://developers.google.com/maps/documentation/embed/start

    It says you should only provide them with your API key but the thing is that there is a new version of the same website which they don't have links to from their guide but which you get a link to elsewhere( I got offered when in "billing" )

    The new service is called Cloud Console and I found the API on/off buttons there.

    https://console.developers.google.com/project/...

    You have to enable the "Static Maps API", "Google Maps API" and "Google Maps Embed API" and make sure to have your link in an iframe div

提交回复
热议问题