WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / Property / Listing / How to set the location of a property on the map

How to set the location of a property on the map

11676 views
You will learn how to set the location of a property on the map in the WPRentals theme. Watch Video on Youtube

This article explains how to set the property location on the map in WPRentals.

You can use OpenStreetMap, Google Maps with Google Places, or manually add the latitude and longitude values.

  • Hide the Property Location Until Booking Is Confirmed
  • Add Latitude and Longitude Fields to the Submit Form
  • Set Property Location with OpenStreetMap
  • Set Property Location with Google Places
  • Select Property Latitude and Longitude Manually
  • Copy Coordinates Manually from Google Maps
  • Property Location Marker
  • Important Notes
  • Related Help Articles

Hide the Property Location Until Booking Is Confirmed

You can hide the exact property location until a booking is confirmed.

Go to:

Theme Options → Listing Page → Listing Page Settings → Hide property location until booking is confirmed?

Enable the option and save the changes.

When this option is enabled, the address and map location are hidden on the property page until after a booking is made.

Add Latitude and Longitude Fields to the Submit Form

To allow users to set the property location on the map, the latitude and longitude fields must be enabled in the submission form.

Go to:

Theme Options → Add Listing Page & Payment Settings → Listing Submission Form → Enable Map Coordinates

Use CTRL on Windows or Command on Mac to select or unselect fields.

Make sure these fields are selected:

  • Property Latitude
  • Property Longitude

Set Property Location with OpenStreetMap

OpenStreetMap can be used without an API key.

You can also add a MapBox API key if you want faster map tile loading. If no MapBox API key is added, the default OpenStreetMap tile server is used.

OpenStreetMap does not support Street View or Google Places features on the property page.

To use OpenStreetMap, go to:

Theme Options → Map Settings

Select Open Street as the map provider.

When adding or editing a listing:

  • Type the property address.
  • The latitude and longitude values can auto-fill based on the address.
  • Check that the map pin is placed correctly.
  • Save the listing.

Set Property Location with Google Places

If you use Google Maps, you must add a valid Google Maps API key.

Go to:

Theme Options → Map Settings

Select Google Places as the map provider.

Add your Google Maps API key.

Learn how to get a Google Maps API Key

Select Google Maps or OpenStreetMaps in WPRentals Map General Settings

When adding or editing a listing:

  • For City / Area / Country, start typing and select the location from Google autocomplete.
  • Go to the Location section.
  • Type the full property address.
  • Click Place Pin with Address.
  • Check that the latitude and longitude values are added.
  • Save the listing.

Select Property Latitude and Longitude Manually

You can also select the property location directly on the map.

In the submit form or admin edit property page, go to the Place on the Map section.

Click directly on the map to choose the property location. The latitude and longitude values will update automatically.

Copy Coordinates Manually from Google Maps

You can also copy the coordinates from Google Maps and paste them into the property form.

  1. Go to Google Maps.
  2. Search for the property location.
  3. Right-click the exact location on the map.
  4. Select What’s here?
  5. Copy the latitude and longitude values.
  6. Paste the values into the property latitude and property longitude fields.
  7. Save the listing.

Property Location Marker

You can customize the map marker icon used for properties.

Learn more about Pins Management

Important Notes

The latitude and longitude fields must be enabled if users need to manually set or adjust the property location.

If you use Google Places, make sure the Google Maps API key is valid and that the required Google services are active.

If you use OpenStreetMap without MapBox, map tiles may load slower in some cases.

If the map pin is not placed correctly, copy the coordinates manually from Google Maps and paste them into the property form.

Related Help Articles

Google Maps API – Unable to load the map and shows error

Pins Management

Property / Listing

Related Articles

  • How to Change Thumbnail / Images Sizes
  • How to work with the Listing Page Layout Manager
  • Login & Register – How to Create Renters / Owners
  • Videos – How to add a listing – User Dashboard & Submission Form

HELP CATEGORIES

  • 61. General
  • 72. Installation & Basic Setup
  • 373. How Booking Works
  • 18Advanced Search
  • 17Elementor WPRentals Studio
  • 14Email Notifications
  • 27FAQ
  • 14Installation FAQ
  • 10Menu Options
  • 33Owner & Renter
  • 8Page Templates
  • 24Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 99Technical how to
  • 5Third Party plugins
  • 4Translation & Multi Languages
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 12WP Rentals Payments
  • 80WP Rentals Theme Options
  • 26WPML & Weglot

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API