rdyatlov commented on issue #31176:
URL: https://github.com/apache/superset/issues/31176#issuecomment-2503404477

   @dosu,
   I'va added options you proposed to "properties", but it also didn't help:
   
   
   ```
     {
         "type": "Feature",
         "geometry": {
           "type": "Point",
           "coordinates": [
             85.151252,
             52.509425
           ]
         },
         "properties": {
           "color": [
             0,
             255,
             0,
             255
           ],
           "max_radius": 50,
           "min_radius": 5,
           "point_unit": "pixels",
         }
   ```
   
   > Hello, @rdyatlov! I'm here to assist you with any bugs, questions, or 
contributions you have. Let's tackle this issue together!
   > 
   > 1. In Superset, the default units for circle size in deck.gl geojson 
charts are in "square meters" and can be configured using the `point_unit` 
control. However, there is no direct setting in the interface to switch from 
static size (meters) to dynamic size (pixels) based on map scale. The 
`min_radius` and `max_radius` settings ensure that the circle respects minimum 
and maximum radius sizes in pixels as the zoom level changes, but these are not 
directly configurable through the interface for dynamic scaling 
[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Scatter/controlPanel.ts).
   > 2. Currently, there is no built-in configuration or setting in the 
Superset interface that allows users to set point circle sizes directly in 
pixels, bypassing the default unit settings. The interface does not provide an 
option to dynamically scale circle sizes with the map. Adjustments to the 
interface to allow setting radii directly would require changes to the 
codebase, potentially involving modifications to the control panel 
configuration for the deck.gl geojson charts 
[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Scatter/controlPanel.ts).
   > 
   > _To continue talking to [Dosu](https://dosu.dev), mention @dosu._
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to