Contents

Displaying place information using the Maps Embed API

Show place information on a map using a URL.

Overview

You can use the Maps Embed API to show information about a place within the context of a map by copying an HTML snippet onto your website. This is a minimal code approach to showcasing place information. All you need is the following:

  1. The ID for your place. See Identifying unique locations with Place IDs for more information about Place IDs, or find one with Place ID Lookup.

  2. Your API token. See Creating a Maps token for more information on how to request a token.

Once you have these items, create the HTML snippet using Create a Map, then copy the resulting HTML snippet and paste it onto your website.

Alternatively, you can construct the snippet yourself by manually adjusting the URL parameters in the snippet’s src attribute.

[Image]

See Also

Essentials