Associating a custom map pin icon (marker) with a field value
A Map View can give each entry a pin that matches one of its answers, such as a different pin for each trade in a member directory. The pins come from the choices of a Drop Down or Radio Buttons field in your form.
Maps is built into GravityView Pro. To turn it on or off, go to Plugins and click Features in the GravityView Pro row.
You need a Map View that already shows your entries. Getting started with the Maps Layout sets one up.
Step 1: Add an icon to each choice #
- Go to Forms and click the title of your form.
- Click the Drop Down or Radio Buttons field whose choices should set the pin, such as Trade.
- In Field Settings, select Use field choices as map marker icons.

- Click Edit Choices. Each choice now has an image button to the left of its label.
- Click a choice’s image button. Choose an image under Media Library, or add one under Upload files, then click Use this icon.
- The Choices panel closes after each icon. Click Edit Choices again for the next choice, until every choice has its icon.

- Click Save Form.
Note: GravityView Pro comes with 183 map icons, in the folder wp-content/plugins/gravityview/assets/img/mapicons/ of your site. To use one, copy it from that folder to your computer and upload it in step 5.
On a GravityView + Extensions (Legacy) license, the separate Maps plugin keeps them in wp-content/plugins/gravityview-maps/assets/img/mapicons/. The Map Icons Collection has more free icons.
Step 2: Choose the field in your View #
- Edit your View. In the Settings box, click the Maps tab.
- Under Choice-Based Marker Icon, choose your field. The list shows only the fields that have Use field choices as map marker icons selected.

- Click Update.
The pins on your map #
Each entry now shows the icon of its choice. An entry with no choice selected shows the Default Pin Icon.

To change the pin of every entry at once, see About custom map icons or markers.