Popups
Choose what people see when they click a feature on a map, from attributes and photos to custom HTML or a web page.
Popups show a feature's attributes when someone clicks or hovers over it. Vector layers have standard popups by default, and you set them up in the Popup section of a layer's Style tab.
A standard popup shows attributes, a title, and an image. Use a custom HTML popup for charts, tabs, or your own design. Use a URL popup to show a web page for each feature.
Standard popups
Click Edit map to enter edit mode, then click the layer in the legend.
In the Style tab, open the Popup section. Check that Show isn't Never and Type is Standard.
Click the field next to Contents. The Popup content panel opens.
Set what the popup shows. Click a feature on the map to see your changes.
Layout
Table puts each name and value on one row. List puts the name above the value.
Title
The attribute shown as the popup's title
Image
An image at the top of the popup. See Add an image to a popup.
Attributes
Click Add attribute to add one, drag to reorder, and click Remove to hide one from the popup.
Names
Double-click a name to rename it in the popup. The column keeps its name.
Format
Hover over a numeric attribute and click Format. You can also format it from the table. See Number formatting.
Web addresses in attributes show as links.
Add an image to a popup
A standard popup can show an image for each feature, such as a site photo. The image comes from an attribute that holds a public image URL or from an image attribute, such as one containing form photos.
Make sure the layer has an image attribute, or add each feature's public image URL to a text attribute. See Edit features.
To add an image attribute, in edit mode, click the layer's ··· menu in the legend, click Edit attributes, click Add attribute, select Image, and click Update layer.
To add photos to an image attribute, double-click a feature, click Add images in the feature editor, choose the files, and click Done.
In edit mode, open the layer's Popup section and click the field next to Contents.
Open Image and select the attribute. The image appears at the top of each feature's popup.
The Image list shows only attributes with web addresses or images. When a feature has several images, the popup shows them one at a time, with arrows to move between them.
Choose when popups show
In Style > Popup, use Show to choose when the popup opens:
On click
When someone clicks a feature
Only on label click
When someone clicks the feature's label
On hover and click
On hover, and stays open on click
Never
The layer has no popup
A layer uses the same popup for click and hover. Where features overlap, use the popup's arrows to move between them.
Custom HTML popups
Available on the Business and Enterprise plans. Compare plans
Design a custom HTML popup with photos, charts, tabs, or your branding. Describe it to Felt AI to generate the HTML, CSS, and JavaScript, or write your own code.
Click Edit map to enter edit mode.
Click Developer Platform in the toolbar, then click Custom popup.
In Add custom popup to…, select the layer and click Next. The popup editor opens.
In the prompt, describe the popup, such as
Show a bar chart of this location's sales by year.Felt AI writes the code and updates the preview.Check the Desktop and Mobile previews.
Optional: Edit the code.
Click Save. The popup applies to the map.
You can also start from the layer: in the Popup section, set Type to Custom HTML. To change a saved popup, click Edit… next to Contents. For its position and size, see Layout options.

Write your own HTML
A Custom HTML popup is a template that Felt fills in with each feature's attributes, using the Liquid template language and its filters.
To insert an attribute's value, put its name in double curly braces, such as
{{name}}. For a name with spaces or symbols, use{{["name with spaces"]}}.To loop over every attribute, use
_attributes, a list of items that each have anameand avalue.
URL popups
Available on the Business and Enterprise plans. Compare plans
A URL popup loads a web page inside the popup. Use a fixed address for the same page on every feature, or put attributes in the address so each feature opens its own page.
In edit mode, open the layer's Popup section and set Type to URL. The popup editor opens.
Enter the address. To insert an attribute, click Add attribute and select it. The attribute appears in double curly braces.
Check the Desktop and Mobile previews.
Click Save. The popup applies to the map.
Iframe interactions
A URL popup shows the page in an iframe. If a page opens in the browser but not in the popup, the site blocks embedding. If you run the site, allow Felt in its frame-ancestors rule. Otherwise, link to the page from a standard popup.
Layout options
Layout options on the right of the popup editor control the size and position of a URL or Custom HTML popup. Standard popups always open on the map, next to the feature.
Layout
On map shows a card next to the feature. Left sidebar or Right sidebar shows a panel at the side for long content. Dialog shows the popup in a dialog over the map.
Title
The attribute shown as the popup's title
Width and Height
The size of the content area. In a sidebar, the height is Auto.
Header
Standard, Compact (only the ··· menu), or None

Raster popups
A raster popup shows the pixel value at the location where someone clicks or hovers on a raster layer. Raster popups are off by default.
Click Edit map, then click the raster layer in the legend. The Style tab opens.
In the Popup section, open Show and select On click or On hover and click.
Optional: Click Format to set how values display.
Troubleshooting popups
Popups don't open when you click a feature
In the layer's Popup section, check that Show isn't Never. For Only on label click, click the label. A polygon with no fill is clickable only on its outline.
"Custom interactions are not available on this plan"
The workspace's plan doesn't include URL or Custom HTML popups. See the plan comparison. To show attributes instead, set Type to Standard.
A Custom HTML popup is blank
The template may contain an error or refer to an attribute that doesn't exist. In the popup editor, check the console for errors and make sure attribute names match the columns exactly, including capitalization.
Popup shows "Couldn't load image"
The link doesn't open an image for everyone. Open it in a private window: it should show only the image. Sharing pages such as Google Drive or Dropbox, links that need a sign-in, and sites that block their images from loading elsewhere don't work. Use a direct https:// image link, or upload photos with Add images. A comma also breaks a link, because Felt reads commas as separating images.
Last updated
Was this helpful?