This is the Block title

There are four ways to get the map information needed for the content type to display a Google Map.

  • By using the Embed map code supplied from the Google Maps website
  • or by typing the postcode
  • and/or adding the street name/address
  • Using the latitude and longitude coordinates

ScreenshotGive it a try

Add a Google Map content type to the relevant page in your site structure. (Find out how to add a content type to a section).

Use the Embed map code

Use the Search Google Maps box on the Google Maps site to go to the map you want to add to the page, the example in Fig.1 uses the search term Exhibition Road, London.

  • In the blue box click the Share option (below Directions) [Fig.1]
  • and then the Embed map tab to see the embed URL. It's highlighted in blue and starts with <iframe src= [Fig.2]
  • Ignore the Medium dropdown on the left
  • Copy this URL in its entirety into the content type field called: Google embed code
  • Select Medium, Tall or Short from the Map height dropdown
  • Click Add and Approve

Use a Postcode and/or address

Instead of using the Google embed code you can use the postcode or the address of the place/area you want the map to feature.

  • Add the postcode into the content type field Address and/or postcode. The more complete the postcode the more accurate the map will be. eg. SW7 2AZ is better than just SW7.
  • Or add the address into the content type field Address and/or postcode. The more complete the address the more accurate the map will be. eg. 170 Queensgate, London is better than Queensgate, London, or just Queensgate, which is not enough information for Google maps to work with.
  • Select Medium, Tall or Short from the Map height dropdown
  • Click Add and Approve

Note: The Embed map code will always override anything added to the Postcode and/or address field or the Latitude and Longitude fields.

Use latitude and longitude

Add the two values in their fields in the content type.

Form fields

Here are the options available in this content type.

Field title What should I do? Is it compulsory?
Name* Name the map with a concise description e.g. Exhibition Rd map Yes
Block Title* This title will be shown above the map Yes (as screen reader heading)
Show block title Ticking this box will make the heading show to all users, not just screenreaders. No (Defaults to show)
Google embed code See Use the Embed map code above. This field overrides Address/Postcode and Latitude and Longitude fields. No
Address and/or postcode See Use a Postcode and/or address above. This field overrides Latitude and Longitude fields. No
Map height Select one of the Medium, Tall or Short options. Yes
Zoom Select a number between 0 (the whole world) and 21 (individual buildings). When empty the zoom defaults to the standard view - 17. No
Latitude Add the coordinates, both latitude and longitude fields must be completed. No
Longitude Add the coordinates, both latitude and longitude fields must be completed. No