Custom fields let you add numeric information such as price, size, capacity, or number of rooms to your locations. You can display these values in location descriptions and let visitors narrow their results using range filters.
For example, a property map can use custom fields for monthly rent and floor area. Visitors can select a property category, then filter for locations within their budget and size requirements.
Availability: Custom Fields is available on the Expert and Enterprise plans. Custom fields currently support numeric values, with optional units.
Try Custom Fields in Action
Explore these interactive maps and adjust the numeric filters to see how custom fields help visitors narrow their results.
- Commercial real estate: Property portfolio
- Residential real estate: Experience map
- Nonprofit: Volunteer opportunities
Custom fields or categories?
Use categories to group locations by type, such as Apartments, Offices, or Retail. Use custom fields for measurable values, such as rent, floor area, or capacity.
They work together: a visitor can select Apartments, then use a Monthly rent filter to find properties within a budget.
| Map example | Categories | Custom fields |
|---|---|---|
| Properties | Apartments, Offices, Retail | Price, Floor area, Number of rooms |
| Event venues | Hotels, Conference centers, Outdoor venues | Capacity, Rental price |
| Trails | Hiking, Cycling | Distance, Elevation gain, Duration |
Not sure whether a price, size, or capacity filter should be a category or a custom field? Read Categories vs. Custom Fields: Which Map Filters to Use.
Create a custom field
- Open Custom Fields in the editor sidebar.
- Click Create custom field.
- Enter a unique Field name, such as Price, Capacity, or Floor area.
- Optionally enter a Unit, such as
$,m²,km, ormin. Units can contain up to five characters. - Choose whether to Include in visitor filters. This option is available when Multiselect category filtering is enabled.
- Click Create field.
The field becomes available for every location on the map. Its settings also show an Import header, Value macro, and Unit macro, each with a copy action.
When Multiselect is available and enabled, Include in visitor filters is on by default when you open the creation form. Turn it off if you only want to store values or display them in descriptions.
Tip: A unit is a label, not a conversion setting. Changing a unit from m² to ft² does not convert the stored numbers.
Add values to your locations
- Open a location in the editor.
- Expand Custom fields, below Category assignment.
- Enter a number for each relevant field. Valid changes save automatically.
Values are optional. Leave a field blank when the information is unavailable. Clearing an existing input removes that location’s value. Zero is a valid number and is different from a blank field.
Enter numbers without thousands separators, currency symbols, or units. Use a period for decimals.
| Accepted examples | Do not enter |
|---|---|
1250 |
1,250 |
125.50 |
$125.50 |
0.005 |
0,005 |
-10 or 0 |
100 m² |
Supported values range from -1,000,000,000,000 to 1,000,000,000,000, inclusive. More than two decimal places are supported, provided the number fits the supported precision. Extremely precise values that cannot be preserved are rejected rather than silently rounded. Unnecessary trailing zeros are removed, so 125.50 is stored as 125.5.
Import and export custom-field values
Import from CSV or Excel
- Create the custom fields on your map before importing.
- In Custom Fields, copy each field’s Import header.
- Add the corresponding columns to your location spreadsheet and enter the numeric values.
- Import the file using the existing location import workflow.
Import headers use the format custom:<field_key>. For example, fields created as Price and Capacity may have these columns:
| custom:price | custom:capacity |
|---|---|
| 250 | 80 |
| 400.50 | 150 |
Copy headers from the editor to ensure they match. Renaming a field does not change its import header. Imports do not create fields or update their units.
The same numeric rules apply to imported values. For CSV and text cells, use ungrouped numbers such as 1250.75, without units or currency symbols. Invalid numeric rows are skipped.
When updating existing locations:
- A blank cell in a mapped custom-field column clears the existing value.
- Omitting the custom-field column leaves existing values unchanged.
- A value of
0stores zero; it does not clear the field.
Export values
The existing location export includes your current custom fields as custom:<field_key> columns. Values are exported as full, ungrouped numbers; missing values are blank. Units and field definitions are not included.
To import the file into another map, first create fields with matching import headers. Custom fields are not currently supported by Map to Sheets.
Display values in location descriptions
Use a macro to insert a location’s custom-field value into its description. A macro is a short piece of text that Mapme replaces with that location’s value when the description is displayed.
- Open Custom Fields and copy the field’s Value macro.
- Paste it into a location description, in either the visual or HTML editing mode.
- Optionally copy and paste the Unit macro alongside it.
- Preview the location to check the result.
For a field with the key floor_area, a value of 125, and the unit m²:
Floor area: #custom:floor_area:value# #custom:floor_area:unit#
Displays as:
Floor area: 125 m²
For Price with the unit $, place the unit macro before the value:
Price: #custom:price:unit##custom:price:value#
A value of 250 displays as Price: $250.
- Copy the complete macro from the editor. The
:valueor:unitpart is required. - Renaming a field does not break its macros.
- Value macros show the stored number without thousands separators or forced decimal places.
- A missing value displays nothing, but surrounding text and unit macros remain visible.
- Invalid macros or references to deleted fields display
#NA#in Preview and on the published map.
Format values with HTML and tables
You can format custom-field values using HTML, just like other description text. For example, make a value bold or italic, or place several fields in a table to create a property summary. Apply formatting around the complete macro without changing or splitting the macro itself.
Paste this example into the description’s HTML editing mode, replacing the macros with those copied from your own field settings:
<table>
<tbody>
<tr>
<th scope="row">Price</th>
<td><strong>#custom:price:unit##custom:price:value#</strong></td>
</tr>
<tr>
<th scope="row">Floor area</th>
<td>#custom:floor_area:value# #custom:floor_area:unit#</td>
</tr>
</tbody>
</table>
For a location with a price of 250, a price unit of $, a floor area of 125, and an area unit of m², the table displays:
| Price | $250 |
|---|---|
| Floor area | 125 m² |
Preview the location to check the result. HTML controls the presentation; it does not change the stored numbers or add numeric formatting such as thousands separators. If a value is blank, the table row and its label remain visible.
Enabling a visitor filter does not automatically add the field’s values to location descriptions. Add macros wherever you want visitors to see those details.
Let visitors filter by custom fields
Enable a range filter
- In Categories, expand Multi-level category settings and enable Multiselect.
- Open Custom Fields and turn on Show as a visitor filter for the relevant field.
- Add at least two different numeric values across eligible locations on the map.
- Preview the map, then publish your changes.
If the visitor-filter option is unavailable, use its help icon to check the requirement and open category settings. Multiselect is required only for visitor filters; you can create fields, enter or import values, and use macros without it.
Filters appear directly below categories in the same panel. They can also appear when the category legend is hidden. Enabling custom-field filters does not make a hidden legend visible.
How visitors use the filters
- Drag the slider handles to choose a range. The slider stays visible when its input controls are collapsed.
- Expand the filter to enter exact Minimum and Maximum values, then click Apply or press Enter. Typed bounds must remain within the slider’s scale, and the minimum cannot exceed the maximum.
- Open Results to view matching locations.
Dragging snaps to numeric values from the map’s data. Entering bounds allows thresholds between those values. Both endpoints are included: a range of 100–200 includes values of exactly 100 and 200. Apply typed changes before collapsing the filter; collapsing discards unapplied edits.
Multiple custom-field filters work together. For example, setting Price to 100–300 and Capacity to 50–100 returns locations that meet both conditions, along with the current category selection.
Resetting filters and handling blank values
An inactive filter shows Not filtered and does not exclude locations with blank values. Once a visitor changes the selected range, the filter becomes active and excludes locations without a value for that field.
- Reset removes one custom-field filter while keeping the other filters and category selections.
- Clear all removes category selections and all custom-field filters. It does not clear an existing keyword search.
Moving both handles back to the full range does not deactivate a filter. Use Reset to include locations with blank values again, provided they match the other active conditions.
How category changes affect sliders
Category selections update the range of inactive sliders. An active slider keeps its current scale and selected range, so changing categories does not silently change the visitor’s numeric selection. Click Reset to refresh that slider’s range for the current categories.
Changing one numeric filter does not change the scale of another. Some combinations can therefore return no results. Visitors can widen a range, reset an individual filter, or clear all filters.
Reading displayed numbers
Slider labels use commas for thousands and a period for decimals, such as 12,345.67. Long numbers may be shortened to fit. The ≈ symbol means the displayed number is approximate; filtering still uses the full value.
Expand the filter to see its exact selected bounds. Editable Minimum and Maximum inputs use numbers without thousands separators.
Manage fields and filter labels
On the Custom Fields page, you can:
- Rename fields or change units. Valid edits save automatically. Import headers and macros stay the same.
- Reorder fields using the drag handles. This order also applies to location inputs, visitor filters, and exported custom-field columns.
- Turn visitor filtering on or off without removing the field or its values.
- Customize Minimum, Maximum, Apply, and Reset under Filter text overrides. Each label supports up to 20 characters; leaving it blank restores the default.
- Delete a field using its delete action and confirming.
The shared Filters, Clear, and Results labels are customized in Categories > Multi-level category settings. Include #NUM in the Results label if you want to show the number of matches, for example Results (#NUM).
Before deleting a field: Remove or replace its macros in your descriptions. Deleting the field does not edit description text, and those macros will display #NA# after publication. Creating a new field with the same name does not reconnect the old macros.
Publish your changes
Use Preview to check your field values, descriptions, and filters. Publish when ready to make the changes visible on the live map. Autosaved editor changes do not update the published map until you publish.
Frequently asked questions
Why isn’t my custom-field filter showing?
Check that your account has access to Custom Fields, Multiselect is enabled, and Show as a visitor filter is on. The field also needs at least two distinct numeric values across eligible locations. For example, 100, 100, and a blank do not qualify, while 0, 100, and a blank do. Publish your changes to update the live map.
Why is a slider disabled after selecting categories?
An inactive slider stays visible but becomes disabled when the selected categories contain only one distinct value or no numeric values for that field. Change or clear the category selection to make more values available. An already active slider remains adjustable.
Can I use text or Yes/No values?
Custom fields currently support numbers only. Use categories to organize locations by descriptive attributes.
Why does a description show #NA#?
Check that the field still exists, the complete macro matches the one copied from its settings, and your account still has access to Custom Fields. Follow the warning shown in the location editor to correct the reference. A valid field with a blank location value displays nothing, rather than #NA#.