---
schema_version: "1"
id: ac5ff9126a52573328429ec4bef1485e0b2ddb50487b25a7415d4729b1b9a66e
title: MapAndLocationSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_mapandlocationsettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mapandlocationsettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f0dcd8e41e43c6bb4f46db7d07e9f4b3354ef2e807242a12a558569156dd388d
description: Represents an org’s map and location settings.
---
# MapAndLocationSettings

Represents an org’s map and location settings.

In the package manifest, all organization settings metadata types are accessed using the Settings name. See [Settings](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type.") for details.

## Declarative Metadata File Suffix and Directory Location

MapAndLocationSettings values are stored in a single file named Mapandlocation.settings in the settings directory. The .settings files are different from other named components because there’s only one settings file for each settings component.

## Version

Map and location settings are available in API version 46.0 and later.

## Fields

| Field | Field Type | Description |
| --- | --- | --- |
| enableAddressAutoComplete | boolean | Indicates whether auto-complete is enabled on address fields (true) or not (false). |
| enableMapsAndLocation | boolean | Indicates whether the maps and location services are enabled (true) or not (false) |

## Declarative Metadata Sample Definition

This is a sample mapandlocation.settings metadata file.

<?xml version="1.0" encoding="UTF-8"?>
<MapsAndLocationSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <enableAddressAutoComplete\>false</enableAddressAutoComplete\>
    <enableMapsAndLocation\>false</enableMapsAndLocation\>
</MapsAndLocationSettings\>

## Wildcard Support in the Manifest File

The wildcard character \* (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see [Settings](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_settings.htm). For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).