When I share a link to a location on Google Maps, the link comes with a preview image of that location, like this:
From what I know, you can put a preview image as a tag in the section of a webpage, like this:
<meta property="og:image" content="example.png"/>
But this tag is static and there isn't really a way to make it dynamic. So how does Google Maps do it?