For generating a google map using Map Embed API, just follow the below step,
So now we need some api key. We go to Google API Console, click here
here is the link for Google Cloud Platform Console. we can see some previous projects created on google cloud platform, like this,
but we prefer to create a new project like this,
after create project, we select that project from next window, and select Maps Embed API for this project.
Now we need Enable this api,
when enabling this api, we need to create credntials like API key for this project
this will be like that,
Now we need to restrict this key to this API
After save the restrict key, we need to copy the api
and paste into maps embed quick start, here
Now after click on Done, we can see that our iframe code are ready. see like that,