Skip to main content
All CollectionsTooltips
Common Tooltip Issues when using JSON source
Common Tooltip Issues when using JSON source
James avatar
Written by James
Updated over 8 months ago

When using a JSON file as the map data source, some of the tooltip visual options will not work, like the maximum width option. To workaround this you can wrap your tooltip template option with a div with a custom class:

Tooltip Issues when using JSON source

This way you can target that class to fix any visual issues. For example:

.map_wrapper .custom-tooltip { max-width:200px !important; white-space:normal !important; line-height:1em; }


โ€‹

Did this answer your question?