Javascript - 使用 Google API 创建地图

Javascript - Create a map with Google API

我使用下面的 URL 进行了 Google 地图 API 调用,想知道如何使用回调数据生成地图并将其嵌入 HTML ?

https://maps.googleapis.com/maps/api/geocode/json?address=Rua+Amarilis,134+Palho%C3%A7a&key=AIzaSyC-9XzfWIRagerL60bVUzOpPlpZgmL-4n0&sensor=false

JSON数据不会显示地图。如果要显示地图,则必须编写 Google 地图 API 来拦截 JSON 数据。 以此为参考-https://developers.google.com/maps/documentation/javascript/tutorial

或者您可以使用嵌入 API, 以此为参考 - https://developers.google.com/maps/documentation/embed/start