Purpose

The My Maps Google Embed allows you to seamlessly integrate interactive maps from Google My Maps into your website. This provides a more visually engaging and interactive way to present location-based information.

When to Use

Choose My Maps Google Embed when:

  • You need to display multiple locations in a customized map style.
  • You want to add additional information, such as markers, labels, or lines, to the map.
  • You prefer a more interactive and visually appealing map experience.

Choose Location Listing Map Content Type when:

  • You have a simple list of locations that you want to display on a map.
  • You don't need to customize the map's appearance or add extra features.


Key Differences:

  • Flexibility: My Maps Google Embed offers greater flexibility in customization and interactivity.
  • Process: The My Maps Google Embed allows you to directly add locations to the map without creating separate location content types.
  • Integration: The Location Listing Map Content Type integrates with the DX Drupal platform's location content type, providing a more streamlined workflow for simpler location listings.
1

How to locate My Map Google embed url

You will first need to make sure that you have created your Google My Maps and you can do this by selecting the "Create a new map button"

how to create a map in google my maps

From there you will add each location that you will like to have pin pointed within your map.  You can also import data by selecting the Import button and this will also add the place marks as well.

example of adding locations in my maps google

The URL that you will use for the My Map Google embed is located within the "Share" button. 

How to locate the my maps google embed

From there you can select the URL which is what you will use as the My Maps Google Embed.

Selecting the my maps google embed url
2

How to add My Maps Google Embed

One way to add My Maps Google embed to a basic page is by navigating to the "Content" button and then within the dropdown navigate to "Media" and then "Add Media" and from there you will locate the Google Map button.

he Flickr tab within the add media dropdown located within the media tab

This is where you will then add the name of your map and then paste in the URL that you copied from the share field and select save.

DX platform google my maps embed

The saved My Map Google Embed will appear in the media library under the "Google Map" filter field.

media library location of the my map embeds

You can then embed the Google my map embed the same as you would with a media embed by navigating to the basic page where you want the map to be embedded and then selecting the "Insert Media" button. 

insert media button within a basic page

From there you can select the embed that you have previously added within the media library or you can also add a new embed which will also appear in the media library.  

how to add the my map google embed to a basic page