dosubot[bot] commented on issue #34398:
URL: https://github.com/apache/superset/issues/34398#issuecomment-3135651331

   <!-- Answer -->
   This is a confirmed bug in the current Superset master: when you select a 
numerical column for the MapBox chart's Point Radius field, the frontend passes 
the column name as a string instead of a number, which breaks the rendering 
logic and results in an empty map. The backend does include the correct 
per-point radius in the geoJSON, but the frontend expects a numeric fallback 
and mishandles the string value, causing the issue. No recent pull requests 
have addressed this bug as of July 2025, and it's not documented as a known 
limitation or fixed in recent updates 
[[source]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/legacy-plugin-chart-map-box/src/transformProps.js).
   
   As a workaround, make sure your radius column contains only valid numeric 
values and, if your data source uses NUMERIC/DECIMAL types, try casting the 
column to BIGINT in your SQL query to avoid type conversion issues that can 
cause rendering problems in Superset charts 
[[source]](https://github.com/apache/superset/issues/33174). If the problem 
persists, it will likely require a code fix to ensure the frontend always 
passes a valid numeric fallback for pointRadius.
   
   
   <!-- 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/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&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/issues/34398)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to