The attributes tab in Layer settings allows you to customise how attribute data is displayed on your maps in interactive elements such as the Basic popup identify windows, and search results.
Default Column Labels | Customised Column Labels |
Attribute Labels
By default, Mango will use the column name from the attribute data as the attribute label in the Basic popup. Changing the label setting allows you to use an alias for the label rather than the attribute column name.
Formatting
You can choose from a range of formatting options to modify how the text is displayed on your map. You can also choose “Hidden” if you don’t want the attribute to be displayed. By default it is set to “Auto Detect”, in this case our system will try to correctly identify the correct formating to use.
Images & Links
Any image URLs or links contained in your attribute data will automatically be detected and displayed as such in the identify popup window.
For a link to be detected and displayed as a clickable link it must begin with “http://” or “https://”
For an image to be detected and displayed as an image in the popup window it must begin with “http://” or “https://” and end with a valid image format: gif/png/jpg/jpeg.
If you have multiple images in an attribute, they will be displayed as a carousel in the Basic popup.
Video
Video URLs can be automatically embedded by placing the full URL in the the attribute field for a feature. Mango supports Youtube and Vimeo URLs.
Attribute Visibility
You can hide attributes from displaying in the Default popup by un-checking the attribute in the Format tab. This will only affect the Basic popup – attributes can be individually added in the Custom and Calculator popups.
Attributes that are set to not-visible will also not appear in the results preview for Data Search.