# Location / Map

{% hint style="success" %}
Navigate to **WordPress Dashboard → Directory → Settings → Location / Map** to configure the location and map settings for your directory.
{% endhint %}

## **Map Settings Options**

<figure><img src="https://1329454200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjkjLxJBF9ZEhrw9368jY%2Fuploads%2FYLlCijQNXsAPS4Fco5vy%2Fdt-dir-op10.jpg?alt=media&#x26;token=7e6f5fc1-5ed8-4260-9543-60ceadb8ba74" alt=""><figcaption></figcaption></figure>

### **1. Enable Auto Complete in Frontend Form Submission**

* **Google Places Auto Complete:**\
  Choose **"Yes"** to enable **Google Places Auto Complete** for location fields in the frontend submission form.\
  This feature allows users to search and select locations as they type, improving accuracy and user experience.

### **2. Enable SSL**

* **SSL for Map:**\
  Enable **SSL** to load maps securely using an SSL certificate. This is important for **secure connection** and **data protection**.

### **3. Google Map API Key**

* **Add API Key:**\
  Enter your **Google Maps API Key** here.\
  This key is needed to access Google Maps services on your site. Obtain it from the **Google Developer Console**.

### **4. Default Map Settings**

* **Default Latitude & Longitude:**\
  Provide default latitude and longitude values for the map's center point. This determines the initial view when the map loads.
  * Example: Latitude **40.7128** (for New York City), Longitude **-74.0060**.
* **Default Zoom Level:**\
  Set the default zoom level (Range: **1 to 20**). A zoom level of **10** typically shows a city-wide view.
* **Default Map Type:**\
  Choose the **default map type**, such as **Roadmap**, **Satellite**, **Hybrid**, or **Terrain**.
* **Default Map Color:**\
  Select the default **color scheme** for the map for consistent styling with your website’s theme.

### **5. Map Controls**

* **Enable Map Type Control:**\
  Choose **"Yes"** to allow users to switch between different map types (e.g., Roadmap, Satellite).
* **Enable Zoom Control:**\
  Choose **"Yes"** to allow users to zoom in and out of the map.
* **Enable Scale Control:**\
  Choose **"Yes"** to display a scale bar on the map for better navigation.
* **Enable Street View Control:**\
  Choose **"Yes"** to allow users to access **Street View** (if available) from the map.
* **Enable Fullscreen Control:**\
  Choose **"Yes"** to allow users to view the map in **fullscreen mode**.

### **Location Settings**

#### **1. Permalink Settings**

* **Listing City Slug:**\
  Set the slug for listing cities. For example, **listing-city** (ensure it follows permalink guidelines).
* **Listing Neighborhood Slug:**\
  Set the slug for listing neighborhoods. For example, **listing-neighborhood**.
* **Listing County / State Slug:**\
  Set the slug for listing counties or states. For example, **listing-countystate**.

**Note:** After updating slugs, go to **Settings → Permalinks** and click **Save Changes** to apply the updates.

### **Final Step**

✔ Click **"Save Settings"** to apply all your map and location configuration changes.
