Dynamic Map Usage

You may use this module in case the content you would like to show up is located at a specific post type.

Add the module

Add Divi Rock Dynamic Map Module using Divi builder.

Set a map center

Go to the Content section and select a map center type:

  • First value: This option will center your map according to the coordinates of the first element you have added to this module.

  • Manual: This mode lets you add a custom latitude and longitude for positioning your map at a specific center location.

Set a map zoom

This option lets you manually adjust the zoom on which your map will load by default.

Select a map post type

Here you should select the post type which you have chosen for creating your map items.

Select your coordinates

Select the ACF fields which have your latitude and longitude coordinates.

Add your popup fields

Add as many popup fields as you may want to show up on every pin map marker on your map:

Add a new popup

Configure your popup fields

  • Popup type: You can show ACF custom fields or taxonomies. Each of them needs to exist at your post type for the data to be retrieved.

  • Popup icon: This is the icon that will show up next to the popup field you are creating

  • Popup show label: This lets you choose if you want to have a popup label for your popup field.

  • Popup label: Your popup label text.

  • Popup value: This is the ACF or taxonomy from which our module will retrieve the data to show in your popup field.

Customize your popup fields

If you want, customize a specific popup field setting by selecting its design tab.

Set a map height

Go back to your main content, head over to the Design tab and set a custom height for your map

Save changes

Save changes and publish.

Last updated