GitHub user dosubot[bot] added a comment to the discussion: Missing Feature for 
adding labels in deck.gl Polygon charts

<!-- Greeting -->
Hi @gautam-vaibhav302! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping 
the superset team.

<!-- Answer -->
Persistent labels (like names or metric values) on polygons in deck.gl Polygon 
charts are not currently supported in Superset. The only way to display such 
information is via tooltips that appear on hover—there’s no UI or backend 
option to show labels directly on the map polygons themselves. This is a known 
limitation: the PolygonLayer only supports visual properties like fill color, 
stroke, and elevation, not text labels or annotations on the polygons 
themselves 
[[source]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Polygon/Polygon.tsx).

Recent updates have added label and icon support to deck.gl GeoJSON charts (for 
points), but this does not extend to polygons in the Polygon chart type 
[[source]](https://github.com/apache/superset/pull/36201). If you need 
persistent labels on polygons, it would require custom frontend development or 
a new plugin.

For now, the only workarounds are to use tooltips for on-hover info or explore 
the GeoJSON chart type if your use case can be adapted to points with labels. 
There are no open issues or roadmap items for adding persistent polygon labels 
to deck.gl Polygon charts as of December 2025.


<!-- 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/ce806054-749a-43d7-b6b3-9d2104b9506f?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/ce806054-749a-43d7-b6b3-9d2104b9506f?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/ce806054-749a-43d7-b6b3-9d2104b9506f?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/ce806054-749a-43d7-b6b3-9d2104b9506f?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/ce806054-749a-43d7-b6b3-9d2104b9506f?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/ce806054-749a-43d7-b6b3-9d2104b9506f?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/ce806054-749a-43d7-b6b3-9d2104b9506f?feedback_type=other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Persistent%20labels%20%28like%20names%20or%20metric%20values%29%20on%20polygons%20in%20deck.gl%20Polygon%20charts%20are%20not%20currently%20supported%20in%20Superset.%20The%20only%20way%20to%20display%20such%20information%20is%20via%20tooltips%20that%20appear%20on%20hover%E2%80%94there%E2%80%99s%20no%20UI%20or%20backend%20option%20to%20show%20labels%20directly%20on%20the%20map%20polygons%20themselves.%20This%20is%20a%20known%20limitation%3A%20the%20PolygonLayer%20only%20supports%20visual%20properties%20like%20fill%20color%2C%20stroke%2C%20and%20elevation%2C%20not%20text%20labels%20or%20annotations%20on%20the%20polygons%20themselves%20%5B%5Bsource%5D%5D%28https%3A//github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-dec
 
kgl/src/layers/Polygon/Polygon.tsx%29.%0A%0ARecent%20updates%20have%20added%20label%20and%20icon%20support%20to%20deck.gl%20GeoJSON%20charts%20%28for%20points%29%2C%20but%20this%20does%20not%20extend%20to%20polygons%20in%20the%20Polygon%20chart%20type%20%5B%5Bsource%5D%5D%28https%3A//github.com/apache/superset/pull/36201%29.%20If%20you%20need%20persistent%20labels%20on%20polygons%2C%20it%20would%20require%20custom%20frontend%20development%20or%20a%20new%20plugin.%0A%0AFor%20now%2C%20the%20only%20workarounds%20are%20to%20use%20tooltips%20for%20on-hover%20info%20or%20explore%20the%20GeoJSON%20chart%20type%20if%20your%20use%20case%20can%20be%20adapted%20to%20points%20with%20labels.%20There%20are%20no%20open%20issues%20or%20roadmap%20items%20for%20adding%20persistent%20polygon%20labels%20to%20deck.gl%20Polygon%20charts%20as%20of%20December%202025.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[
 ![Share on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/36554)

GitHub link: 
https://github.com/apache/superset/discussions/36554#discussioncomment-15236999

----
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]

Reply via email to