Skip to content

Impossible to set circle size less then 100 meters in deck.gl geojson chart #31176

Open
@rdyatlov

Description

@rdyatlov

Hello!
The issue is in impossibility to change size of point circles in a deck.gl geojson chart. Although the interface allows setting the size manually with any figure, if it is less than 100, all point circles disappear.
Thus, it's only possible to build enormous circles, that sometimes hide the necessary information below them. Moreover, there are no options in interface to switch static size (meters) to a dynamic one (pixels), depending on a map scale.

image (1)
image (2)
image (3)

I've also tried to set the size manually by editing a geojson itself. I used the folowing options in "properties" dict to fit it, but didn't succeed.

[geojson building in PostGIS]...

'properties', jsonb_build_object(
        'guid', guid,
        'strokeColor', '#0000FF',
        
        'pointRadius', 30,
        'getRadius', 30,
        'radius', 30,
        'getPointRadius', 30,
        'size', 30,
        'getSize', 30,
        'marker-size', 30,
        'radiusPixels', 30,
        'getRadiusPixels', 30,
        'point_size', 30,
        'circle-radius', 30,
        'point_size_pixels', 30,
        'getPointSize', 30,
        'pointRadiusUnits', 'pixels',
        'radiusUnits', 'pixels'
    )

So, there are two questions:

  1. Is it possible to set the correct size now (any in (0;100) pixels, dynamically scaling with map)?
  2. Is it possible to modify interface menu for deck.gl geojson charts to allow user setting proper radii directly there?

Thank you!

P.S.: Superset version: 3.1.2; also tried in 4.1.1 with the same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions