How to show booking locations on a map
For one fixed booking venue, add a Google Maps embed to the booking or confirmation page. For several selectable venues, you need a location-aware booking setup that stores addresses, geocodes them and displays the correct map for each appointment.
- 01Decide how locations work
- 02Prepare your location data
- 03Use an embed for one venue
- 04Set up locations in your booking system
- 05Connect the map service
- 06Test every booking path
- 07Take the fast route
What you need
- A WordPress booking system
- Administrator access to WordPress
- The complete address for each booking location
- A Google Cloud project with billing enabled if using an interactive Google map
Decide how locations work
First decide whether customers choose from fixed venues or enter an address for each booking. Fixed venues are easier: you can show a separate map for each location or display the selected venue after booking.
If the address changes for every booking, a simple embedded map is not enough. You need address storage, geocoding and a way to pass the selected address into the map.
Prepare your location data
Write each address in a consistent format, including street, city, region and postcode. Avoid relying only on a venue name, because similarly named places can be geocoded incorrectly.
For each location, also record the public-facing name, phone number, access notes and a directions link. Check every pin manually before publishing it.
Use an embed for one venue
For a single fixed location, open that place in Google Maps, choose the sharing or embedding option, and copy the provided iframe into a WordPress Custom HTML block. Place it near the booking form, contact details or confirmation instructions.
This route is usually fine for one venue. It does not automatically change when a customer selects a different booking location, and it does not geocode addresses entered in the booking form.
Set up locations in your booking system
If you use Bookly, add the service locations in Bookly > Settings > Locations. The Locations add-on makes the Location field available in the booking form and lets customers choose a preferred location. You can then assign staff to locations and configure location-specific services, prices and working hours.
Include the location in appointment records and notifications so the customer and staff member receive the same address. Bookly documents the {location_name} and {location_info} notification codes for this purpose.
Connect the map service
For an interactive map that converts addresses into coordinates, create a Google Maps API key and enable the APIs required by your integration. A browser map normally needs the Maps JavaScript API; address conversion may also require the Geocoding API, and address autocomplete may require Places services.
Google requires a valid API key and billing for Maps JavaScript API requests. Restrict the key to your website and only the APIs you use. A key restricted for browser referrers can fail when a plugin performs geocoding on the server, so check whether your booking system makes frontend or backend requests before choosing the restriction type.
Test every booking path
Make test bookings for each service, staff member and location. Confirm that the map shows the right pin, the confirmation email contains the right address, and the directions action opens the expected destination.
Test on a phone as well as a desktop. The common failure is a map that works in the administrator area but is blank for customers because the API key, billing account or allowed website referrer is wrong. Also check that another plugin or theme is not loading the Google Maps script a second time.
Take the fast route
If you need selectable booking locations and an interactive map without building the address workflow yourself, use the Bookly Google Maps Address Add-on with Bookly's location features. It is designed for service businesses that need address entry, geocoding, multiple locations and directions within the booking process.
Install the add-on through Plugins > Add New > Upload Plugin, activate it, add your Google Maps credentials where requested, then configure and test each Bookly location. Keep the manual embed route if you only have one permanent venue; the add-on is most useful when the map must follow the booking selection.
Let Bookly Google Maps Address Add-on do it
Google Maps integration with geocoding, directions, and multiple service locations for bookings that happen at specific addresses.
Sources
- support.booking-wp-plugin.com /hc/en-us/articles/210229885-Locations-Add-on?utm_source=ope…
- developers.google.com /maps/documentation/javascript/troubleshooting?utm_source=op…
Questions
- Can I show a booking location without a plugin?
- Yes, if the venue is fixed. Add a Google Maps iframe to the booking, contact or confirmation page and maintain the address manually. This does not connect the map to a selected booking location, geocode customer-entered addresses or update appointment notifications automatically. Several selectable venues require location-aware booking features or custom development.
- How do I show a different map for each booking location?
- Store each venue as a separate location, then make the booking form return the chosen location and address. Your map integration must use that value to display the matching pin. In Bookly, the Locations add-on lets customers choose a location and lets you assign staff and schedules to locations.
- Why is my Google map blank in WordPress?
- A blank map is usually caused by a missing or invalid API key, disabled billing, an API that has not been enabled, or a key restriction that does not match the request. Google also reports errors when the JavaScript API is loaded without a valid key. Check the browser console and Google Cloud project before changing your booking settings.
- Do I need Geocoding and Places APIs as well as Maps JavaScript API?
- You need the Maps JavaScript API to render a browser-based interactive map. You may also need Geocoding to turn an address into coordinates, and Places services if customers search or autocomplete an address. The exact requirements depend on whether addresses are entered by staff, entered by customers or converted on the server.
- How should the location appear in booking emails?
- Include the location name, full address, access instructions and a directions action in the confirmation and reminder messages. If you use Bookly, its location documentation identifies <code>{location_name}</code> and <code>{location_info}</code> as available notification codes. Send a real test booking after editing the template so you can confirm the selected venue is not replaced by a default address.