[Limited Time Offer] Get 40% off MEMBERSHIP PLUS before it's gone! 👉Get This Deal
Mark Hendriksen Logo

Divi Map Module Not Working?

Mark Hendriksen | February 24, 2021 | 0 Comments
Disclosure Note: Sometimes, I include links in my articles that can earn me money. It won't cost you anything, but it helps me pay for coffee ☕ so I can make more helpful content.

Are you having issues with the Divi map module not showing up? The Divi map module requires a Google API key. You can follow the steps in this tutorial on how to get an API key. This will take quite a few steps. However, there are different ways to add Google maps to your website without the need for an API key.

In this tutorial, I will be covering two ways to add Google maps without the need for an API key. Adding Google maps to your site can slow down your site and I encourage you to check out my second method because that one will not slow down your site.

Method 1: Embed The Google Maps

This is simple to do, head over to Google Maps and find your location.

  1. Click the share button
  2. Go to embed a map
  3. Choose your size
  4. Copy the code

Go to your visual builder and place a code module. Now paste the code into the module.

Use the code module to display divi maps

Method 2: Make An Image Of Google Maps

Loading in Google Maps with an API or embed code will load in an external script and this will make your website load slower. What I recommend is to just make a screenshot of Google Maps. To do this just go to Google Maps and find your location. Make a screenshot and then open the screenshot in a photo editor program like Photoshop.

I like to do this in Photoshop. You can style the map as you like, I have made it black and white with a red pin. In Divi, I use an image module and place this image in it.

Google maps as an image

The second method is my preferred one because it will not load in an additional script. Google maps can slow down your site. If you prefer to use the API or embed method then you can delay the loading of the script with a plugin like WP Rocket so it will not slow down the site too much. If you want to learn more about website speed optimization I encourage you to check out my guide for speeding up your Divi website.

If you have any questions let me know in the comments.

Article by

Mark Hendriksen

I am the founder here at MarkHendriksen.com a blog website for Web design, WordPress, and Divi. Learn more about Mark

Leave a Comment