Display Divi Map Module Pin Details by Default

Written by Dan Mossop

Enabling map pin details to appear automatically can make location information more accessible to your website visitors and highlight important details without requiring extra clicks. Showing the pin’s info window by default is especially useful for emphasizing key places or instructions on your site’s maps, improving visibility and user engagement. In this guide, we show you how to configure your Divi map module so that marker details are displayed automatically when the page loads.

Display Divi Map Pin Details Window by Default using Divi Booster

This method demonstrates how to configure a Divi map module so that a pin's info window is shown by default, utilizing the 'Show Details by Default' option provided by Divi Booster within the marker settings. This approach is ideal for site owners who want to automatically highlight specific location details to visitors, streamlining access to important information without the need for additional clicks.

Add or Edit a Map Module and Insert a New Pin

Open your page in the Divi Builder and add a Map module to your layout, or edit an existing Map module. Within the Map module settings, click the "Add New Pin" button to create a new marker for your location.

Enter Your Map Pin Details

When adding your pin, fill in the relevant fields: enter a title for your location and a description in the provided fields. These are the details that will appear in the pin's info window.

Enable 'Show Details by Default' for the Map Pin

Within the pin’s settings panel, look for the 'Show Details by Default' setting. Set this toggle to 'Yes' to ensure the pin's info window is open as soon as visitors view the map.

Save and Publish Your Changes

After finishing your pin settings, save your changes in the Map module and publish (or update) your page. This will make your map with the auto-open details window available to your site’s visitors.

View and Confirm Info Window is Displayed by Default

Visit your page on the front end. You should now see your map displayed with the chosen pin, and the info window open automatically, showing your location's title and description.

Conclusion

That's it! Your Divi map now displays pin details automatically, making important information more prominent and accessible to your visitors.

Avoid Code Editing with Divi Booster!

Take full control of your Divi Map Module pins with Divi Booster. Easily show pin details by default without touching a single line of code. Customize your map pins directly within Divi and enjoy added flexibility and simplicity.

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

10 Comments

  1. Thanks – exactly what I needed.

    Reply
    • Glad it helped, Jayden. Thanks for letting me know.

      Reply
  2. I have Divi Booster (3.0.1) and Divi (3.29.3) and the Show Details for the pin isn't working. What could be the problem?

    Reply
    • Hey Steve, is there any chance you're able to share a link to the page you're working on so that I can take a look for you? Thanks!

      Reply
  3. Where exactly do I make this edit to fix this problem? I am also having this problem and I am not sure where to exactly edit this to fix it without it breaking on next update.

    Thanks

    Reply
    • Hi Wolvyreen, if you've already added the code from this post to your site in the past then wherever you added it will be where you need to edit it. Just replace your previous copy of the code with the new version given above. If you're not sure where this was, perhaps you can send me a link to your map page and I'll see if I can work out where it is.

      If you haven't added the code yet, then you can do in the way described in this post:

      https://divibooster.com/adding-javascript-and-jquery-to-the-divi-theme/

      Code added in that way won't be removed by Divi updates.

      I hope that helps!

      Reply
  4. This stopped working as of Divi version 3.23.3

    Reply
    • Hey Shay, it looks like a timing issue. The original version of the code waited 1000ms (i.e. 1 second) after the page load to give the map time to load. However, it looks like the map loading is now taking longer than that (particularly on first load of the page when nothing is cached). I'm not sure yet if this is due to Google maps changes or changes in Divi. Bumping up the timeout to 4000ms seems to solve it, and I've updated the code (second last line) above with the change. You may be able to get away with a bit less (3000ms works consistently for me), but it's probably worth keeping a bit of buffer time in case of further map loading slowdown or slow user connections.

      I aim to look into a better way of detecting when the map is fully loaded so that the code can be run at exactly the right time.

      I hope that helps!

      Reply
      • Thanks so much! That was it.

        Reply

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

We may earn a commission when you visit links on our website.

Latest Posts

Set Custom CSS IDs for Individual Divi Accordion Items

Assigning unique CSS IDs to specific Divi Accordion items allows for precise control over styling, targeting, and linking within your page content. This ability is particularly useful when you want to apply custom designs or create anchor links to particular accordion...

Enable Swipe Navigation in the Divi Gallery Lightbox

Enabling swipe navigation in the Divi Gallery module's lightbox allows users to seamlessly browse through gallery images by swiping left or right, creating a more interactive and mobile-friendly experience. This functionality can significantly improve user engagement...

Disable Slide-In Animation for Divi Gallery Grid Images

Control how images appear in your Divi Gallery module by toggling the slide-in animation effect for grid layouts. Disabling the slide-in animation allows gallery images to load instantly and appear statically, providing a faster and distraction-free browsing...

Control Image Count Display in Divi Gallery Lightbox

Displaying or hiding the image count in the Divi Gallery module’s lightbox can help customize the user experience, depending on whether you want to give visitors an indication of gallery progress or prefer a cleaner, distraction-free view. The ability to toggle this...

Hide Gallery Image Titles in the Divi Lightbox Overlay

Displaying image titles in the lightbox overlay of the Divi Gallery module can sometimes be distracting or unnecessary, depending on your website’s design and user experience goals. Hiding these titles creates a cleaner and more focused viewing experience for visitors...

Random Posts