Booking Engine Plus: Show, replace, or hide your property map

Purpose Learn how to display, replace, or hide your property's location map in Booking Engine Plus.
Best for Property admins, general managers, and users responsible for Booking Engine configuration and website customization.
Use this when You want to switch from the default map to Google Maps, use a custom static image, or remove the property map from your Booking Engine.
Requirements Booking Engine Plus and permission to edit Booking Engine settings. Google Maps requires an embed URL. Static image customization additionally requires a publicly accessible image URL and JavaScript customization.
Expected result Your Booking Engine displays the selected property map or hides the map according to your saved settings.
Limitations The native Google Maps setting accepts only Google Maps embed URLs. Custom JavaScript is an advanced alternative and may require additional maintenance. Embedded maps can also be affected by your website's security settings.

Introduction

Booking Engine Plus can display your property's location on a map near the bottom of the booking page, helping guests see where your property is located before making a reservation.

By default, the map uses Leaflet. You can replace it with Google Maps directly from your Booking Engine settings, use a custom static image through JavaScript customization, or hide the map entirely.

The method you choose depends on whether you want an interactive map, a custom visual, or no map on your booking page.

Table of contents

Choose how to display your property map

The Booking Engine provides different ways to control your property's map. Review the options below to choose the method that best matches the experience you want guests to see.

Option What guests see Configuration method
Default map (Leaflet) An interactive map showing your property's configured location. Keep Display property map enabled and Google Maps disabled.
Google Maps An interactive Google Map with the location and map controls provided by Google. Native Booking Engine setting with a Google Maps embed URL.
Static image A non-interactive image, such as a custom location diagram or directions. Advanced JavaScript customization and a hosted image.
Hide map No property map. Disable Display property map in Booking Engine settings.

  Recommended method: Use the native Google Maps setting when you want to replace Leaflet with Google Maps. It does not require JavaScript customization and supports both the Hosted Booking Engine and Immersive Experience 2.0.

Replace the default map with Google Maps

To show Google Maps, first copy the property's embed URL from Google Maps, then save it in Cloudbeds PMS. Check the result in your Booking Engine after saving.

Step 1: Get the Google Maps embed URL

Start with the correct property listing in Google Maps:

  1. Open Google Maps.
  2. Search for your property by name or address and confirm that the correct location is selected.
  3. Select Share on the property's Google Maps listing.

The Share control appears with the listing's other actions:

Google Maps property listing with the Share button highlighted alongside the Directions, Save, Nearby, and Send to phone controls.

  1. In the Share dialog, choose Embed a map instead of copying the standard sharing link.

The embed option is separate from Copy Link:

Google Maps Share dialog showing the Embed a map option next to Copy Link and other sharing choices.

  1. Select Copy HTML to copy the map's embed code.

The copied HTML contains the embed URL needed in the next step:

Google Maps Embed a map dialog showing the map preview, iframe embed code, and highlighted Copy HTML button.

  1. From the copied HTML, copy only the URL inside the src attribute. It must begin with https://www.google.com/maps/embed. Keep this URL for the Booking Engine settings in the next step.

  Use the correct URL: The Booking Engine accepts only the Google Maps embed URL. Do not paste the entire iframe code, a shortened Google Maps share link, or a standard Google Maps page URL. Other formats cannot be saved.

Step 2: Enable Google Maps in Cloudbeds PMS

In Cloudbeds PMS, configure the map provider and save the URL:

  1. In Cloudbeds PMS, open the Account Menu Account Menu icon and select Settings.
  2. Open Booking Engine, then select the Settings tab.
  3. Open the Advanced tab.
  4. Turn on Display property map. This setting must remain enabled for either map provider to appear.
  5. Turn on Use Google Maps for property map to reveal the Google Maps embed URL field.
  6. Paste the Google Maps embed URL copied in Step 1 into the field.
  7. Click Save.
  8. Open your Booking Engine and verify that Google Maps appears in the property map section.

The highlighted controls show the completed configuration before saving:

Cloudbeds Booking Engine Settings Advanced tab showing Display property map and Use Google Maps for property map enabled, a Google Maps embed URL entered, and the Save button highlighted.

Compare the map in Property Information > Address and Contact before and after enabling Google Maps:

Before: Leaflet

Hosted Booking Engine Property Information page with the Address and Contact section showing the default Leaflet map and a property location pin.

After: Google Maps

Hosted Booking Engine Property Information page showing a Google Maps embed in Address and Contact, with the property's map card and Open in Maps control visible.

  Using Immersive Experience 2.0? The native Google Maps setting also works when the Booking Engine is embedded on your property website. However, the website's Content Security Policy must allow Google Maps frames from https://www.google.com. If the map appears on the Hosted Booking Engine but not on your website, ask your website administrator to review this restriction.

Return to the default map

If you prefer to use Leaflet again, return to Account Menu > Settings > Booking Engine > Settings > Advanced, turn off Use Google Maps for property map, and save your changes.

Keep Display property map enabled so the default Leaflet map remains visible. The saved Google Maps embed URL is retained when the Google Maps option is disabled.

Replace the map with a static image

To show an illustrated map or directions instead of an interactive map, use a publicly accessible image URL with the advanced JavaScript customization option.

  Before using custom JavaScript: Confirm that Display property map is enabled and that you are using Booking Engine Plus. Custom scripts may require maintenance when the Booking Engine changes. The script below is an existing customization method and should be validated in your property's environment before relying on it.

Step 1: Host the image online

The Booking Engine needs a publicly accessible image address to display your custom map. Make sure the image is saved on your device before uploading it.

  1. Upload your image to an image-hosting service that provides a public image URL.
  2. Configure the image so that it remains accessible and is not automatically deleted.
  3. Copy the public image link provided by the hosting service.
  4. Open the image link in a private or incognito browser window to confirm that it can be viewed without signing in.
  5. Open the image itself and copy its direct image address. Keep this URL for the next step.

The direct image URL must load the image itself rather than a page displaying the image. This allows the Booking Engine customization to use the image as its source.

Step 2: Add the image using JavaScript customization

Use the Booking Engine customization area to replace the default map with the hosted image.

  1. In Cloudbeds PMS, open the Account Menu Account Menu icon and select Settings.
  2. Open Booking Engine, then select Customize.
  3. Locate the JavaScript customization field.
  4. Copy the script below into the field.
  5. Replace Add the copied image address here with your direct image URL. Keep the quotation marks around the URL.
  6. Save your changes, then open the Hosted Booking Engine and verify that the static image appears in place of the default map.
<script>
// On Booking Engine Ready
window.addEventListener("on-booking-engine-ready", ({ detail }) => {
  const { eventSystem } = detail;

  // Listen for the property-map-loaded event
  eventSystem.addEventListener('property-map-loaded', ({ map, mapContainer, address }) => {
    // Hide the current map
    map.style.display = 'none';

    // Insert a static image
    map.insertAdjacentHTML('afterend', `<img src="Add the copied image address here" alt="Property Map" style="width:100%; height:auto; display:block;">`);
  }, false);
});
</script>

Because this is a custom image replacement, it does not provide the interactive navigation, zoom, or directions functionality of Google Maps.

  Changing customization methods: If you previously used JavaScript to replace the map with Google Maps and now want to use the native Google Maps setting, confirm that the new setting works before removing the old script. Avoid keeping both methods active simultaneously.

Hide the property map

If you do not want guests to see a location map, you can hide it using the Display property map setting. This setting controls the visibility of the map regardless of whether the default Leaflet map or Google Maps is selected.

  1. In Cloudbeds PMS, open the Account Menu Account Menu icon and select Settings.
  2. Open Booking Engine, then select Settings.
  3. Open the Advanced tab.
  4. Turn off Display property map.
  5. Click Save.
  6. Open your Booking Engine and confirm that the property map is no longer displayed.

Cloudbeds Booking Engine Settings page showing the Advanced tab with the Display property map toggle turned off and the Save button highlighted to confirm the change. 

To show the map again, return to the same setting, enable Display property map, and save your changes.

  Turning off Display property map hides the native map regardless of the selected provider. If you use additional JavaScript customization, verify the result on your Booking Engine as well.

Troubleshoot property map display issues

If your map does not appear or the Google Maps setting cannot be saved, review the relevant situation below before changing your configuration.

Expand the question that matches what you are seeing.

Why can't I save my Google Maps URL?

Confirm that you copied only the URL contained in the Google Maps embed code's src attribute. The URL must begin with https://www.google.com/maps/embed.

Full iframe code, standard Google Maps page links, shortened share links, and other map-provider URLs are not supported. Return to Google Maps, generate a new embed code, and copy the correct URL.

Why isn't my map visible after saving?

In Account Menu > Settings > Booking Engine > Settings > Advanced, confirm that Display property map is enabled.

If you're using Google Maps, also verify that the Google Maps option is enabled and that the saved embed URL is valid. Refresh the Booking Engine and check the property map section again.

Why does Google Maps appear on the Hosted Booking Engine but not on my website?

If you use Immersive Experience 2.0 on your website, your website's Content Security Policy may block Google Maps frames.

Ask your website administrator or developer to verify that the frame-src policy allows https://www.google.com. This website configuration is separate from the Booking Engine's saved map settings.

Why do I see duplicate maps or unexpected map behavior?

This can happen when a custom JavaScript map replacement is active alongside the native Google Maps setting.

Open Account Menu > Settings > Booking Engine > Customize and review the JavaScript field for an existing map customization. If you intend to use the native method, remove the old map script after confirming that the Google Maps setting works correctly.

If the issue continues after these checks, contact Cloudbeds Support and provide the affected property, the map method selected, the relevant URL or configuration, a screenshot of the result, and the troubleshooting steps already attempted.


Once your property map is configured, these resources provide additional context about other Booking Engine settings and customization options:

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.