# Mapster Map Gravity Forms Field

In addition to an ACF field, Mapster also includes a geographic field you can use with Gravity Forms! This lets you capture geographic information from users and also to display it using a variety of tools.

{% hint style="info" %}
This feature is relatively new and currently quite simple. If you want any more convenience features or minor changes, please let us know and we'll get on it!
{% endhint %}

Start off by going to Forms after you've installed both Gravity Forms and the Pro version of the Mapster WP Maps plugin. Create a new form. Then go and select the Mapster Map field from the right-hand side.

<figure><img src="https://350198811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5R35dCakOT16UkavAw2%2Fuploads%2FKm7Xdsfh1FWzrV9PNr2Q%2Fmapster-map-grav-1.png?alt=media&#x26;token=fbcf3904-8b8b-4eb3-8c53-045c64db4f7f" alt=""><figcaption></figcaption></figure>

When you've added the field, then click on the field to change its settings.

Set the **Field Label** (the name of the field), the starting **Center Latitude** and starting **Center Longitude**, and the starting **Zoom** level.

If you're having trouble with these, try [making a normal Mapster map](https://wpmaps-docs.mapster.me/getting-started/guides/your-first-map) and see what the best zoom and center are, and copy-paste those settings here.

{% hint style="info" %}
To preserve fast loading, Mapster doesn't automatically load the map Javascript before you add the form — so after you create it, you'll need to Save Form and reload the page to see the map.
{% endhint %}

Once you reload, you'll see something like this:

<figure><img src="https://350198811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5R35dCakOT16UkavAw2%2Fuploads%2FdCyzRIKaHkiwChjDE4vG%2Fsample-grav-2.png?alt=media&#x26;token=bec96fbc-bf8e-4d64-b6dd-3971f044cec1" alt=""><figcaption></figcaption></figure>

From here, you can change the **Map Type** between Satellite and Streets.

You can also select the **Geographic Type** you want users to be able to submit: Point, Line, or Polygon. the tools in the top left of the map will change accordingly.

<figure><img src="https://350198811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5R35dCakOT16UkavAw2%2Fuploads%2Fcw6Dgvbd5RNrpoY6JvxA%2Fgrav-map-ex-3.png?alt=media&#x26;token=108683df-70fa-4dbf-b43d-4420774a3c78" alt=""><figcaption></figcaption></figure>

Now your form is ready for your users or your admins to use!

To use it on the front end, simply have users click the icon in the top left and draw on the map. When they add a point or draw a line, everything will be saved in the database as GeoJSONs.

<figure><img src="https://350198811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5R35dCakOT16UkavAw2%2Fuploads%2FHFXfc4M863YHbOJspc5k%2Fgrav-5.png?alt=media&#x26;token=ef91122f-964e-4644-861b-cdd2aef046cf" alt=""><figcaption></figcaption></figure>

Once a user has submitted, you will see the responses in the Entries area of Gravity Forms. By clicking on one, you'll see the submitted geography displayed on a map.

<figure><img src="https://350198811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK5R35dCakOT16UkavAw2%2Fuploads%2F8bIm569porFVXC0Nguwj%2Fgrav-6.png?alt=media&#x26;token=72612eae-f3fd-4ca1-b64e-862f66954035" alt=""><figcaption></figcaption></figure>

With this, you've now saved user input on geographies inside Gravity Forms! Good job.
