GitHub user dosubot[bot] added a comment to the discussion: Tooltip for Map Deck.gl Polygon
<!-- Greeting --> Hi @ginorossivn-eng! I'm [Dosu](https://go.dosu.dev/dosubot) and Iām helping the superset team. <!-- Answer --> Tooltip support for Deck.gl Polygon maps was added after Superset 4.1.1. In Superset 6.0 and newer, tooltips for Deck.gl Polygon charts are supported, but there are some limitations: there isn't a dedicated tooltip field selector; instead, the tooltip content is based on the fields you select in the chart's Query section (polygon column, metric, and dimensions). If you want custom tooltip text, you can create a concatenated field in your dataset, but it can't be used as a metric or polygon column due to data type requirements. Also, HTML formatting in tooltips is not rendered for security reasons, and advanced JavaScript tooltip customization is not recommended for production use due to security risks. For more details, see [this discussion](https://github.com/apache/superset/issues/36779). If you upgrade to Superset 6.0 or later, you should see tooltip support for Deck.gl Polygon maps. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/1a0d48ae-65eb-4ece-881f-7d326045091c?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/1a0d48ae-65eb-4ece-881f-7d326045091c?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/1a0d48ae-65eb-4ece-881f-7d326045091c?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/1a0d48ae-65eb-4ece-881f-7d326045091c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1a0d48ae-65eb-4ece-881f-7d326045091c?feedback_type=hallucination) | [Report š](https://app.dosu.dev/response-feedback/1a0d48ae-65eb-4ece-881f-7d326045091c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1a0d48ae-65eb-4ece-881f-7d326045091c?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=Tooltip%20support%20for%20Deck.gl%20Polygon%20maps%20was%20added%20after%20Superset%204.1.1.%20In%20Superset%206.0%20and%20newer%2C%20tooltips%20for%20Deck.gl%20Polygon%20charts%20are%20supported%2C%20but%20there%20are%20some%20limitations%3A%20there%20isn%27t%20a%20dedicated%20tooltip%20field%20selector%3B%20instead%2C%20the%20tooltip%20content%20is%20based%20on%20the%20fields%20you%20select%20in%20the%20chart%27s%20Query%20section%20%28polygon%20column%2C%20metric%2C%20and%20dimensions%29.%20If%20you%20want%20custom%20tooltip%20text%2C%20you%20can%20create%20a%20concatenated%20field%20in%20your%20dataset%2C%20but%20it%20can%27t%20be%20used%20as%20a%20metric%20or%20polygon%20column%20due%20to%20data%20type%20requirements.%20Also%2C%20HTML%20formattin g%20in%20tooltips%20is%20not%20rendered%20for%20security%20reasons%2C%20and%20advanced%20JavaScript%20tooltip%20customization%20is%20not%20recommended%20for%20production%20use%20due%20to%20security%20risks.%20For%20more%20details%2C%20see%20%5Bthis%20discussion%5D%28https%3A//github.com/apache/superset/issues/36779%29.%0A%0AIf%20you%20upgrade%20to%20Superset%206.0%20or%20later%2C%20you%20should%20see%20tooltip%20support%20for%20Deck.gl%20Polygon%20maps.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/37870) GitHub link: https://github.com/apache/superset/discussions/37870#discussioncomment-15763601 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
