Google Maps

This tutorial shows how to add a live Google Maps element to a page, complete with an address, zoom level, and map type, all in a few settings.

Difficulty:
Beginner
Time:
~5 min

This add Google Maps to WordPress tutorial skips the usual iframe copy-paste. Type in an address and the map already shows streets, pins, and the surrounding neighborhood, styled to match the rest of your site.

Set up the API key

Add your Google Maps API key

In Mosaic’s settings, scroll to Integrations and paste in your API key. This is a one-time setup, every map on the site uses it from here on.

Add and configure the map

Add the Google Maps element

From the Add panel, drop a Google Maps element wherever you want the map to appear.

Set the address

In the Settings panel, type an address into the Address field. The map jumps straight there, with streets, landmarks, and the surrounding area already visible.

Adjust the zoom level

Set the Zoom level to control how close the map starts, lower for a wider view, higher to zoom in on the building itself.

Choose a map type

Switch Map type between Road map and Satellite, depending on whether you want a standard view or an aerial one.

Choose a map type

Switch Map type between Road map and Satellite, depending on whether you want a standard view or an aerial one.

Leave lazy load on

Keep Lazy load enabled so the map only loads once a visitor scrolls down to it, instead of loading with the rest of the page. This speeds up the initial load and skips wasting a map request on visitors who never scroll that far.

Style the map

Set a max height

In the Style panel, set a max height for the map so it doesn’t take up more space than the rest of the page.

Clip the corners

Set Overflow to Hidden and add a border radius, using a style variable to keep it consistent with the rest of your site.

Result

The map now sits exactly where visitors expect to find you, styled to match the page, and it only loads once someone scrolls down to it.

Last updated: August 12, 2026

Still have more questions? Let us help!

Your cookie preferences

We use cookies to improve your experience, analyze traffic, and personalize content. By clicking "Accept all" you agree to storing them on your device. Read our privacy policy.