# Distance Shipping Calculation Settings

<figure><img src="/files/K081y0rf9jOvW8FMapA4" alt=""><figcaption></figcaption></figure>

* **Google Map API Key:** Add your Google Map API key here.
* **Distance Unit:** Select your preferred distance measurement unit according to your business needs.
* **Shipping Cost:** The extension comes with a dynamic shipping cost field that allows store admin to define multiple shipping distance unit ranges and respective shipping charges.
* **Minimum Order Amount:** Option to set a minimum order amount to enable distance shipping method.
* **Maximum Order Amount:** Option to set maximum order amount to disable distance shipping method.
* **Maximum Distance Amount:** You can set a maximum distance unit after which distance shipping will automatically get disabled.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magecomp.com/magento-2-distance-based-shipping-extension/distance-shipping-calculation-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
