Open zilch42 opened 2 months ago
It may be possible in principle, but I am learning very heavily on deck.gl and the features they support, and in that case it is not so easy. The best you can do is not have the points get larger as you zoom in. You can arrange for that by messing with the radiusUnits
and setting it to "pixels"
instead of "common"
. You may have to then mess with radiusScale
or rescale your marker sizes but that should work. Personally I found the result of this underwhelming, but your mileage may vary.
I wonder if there was a different way to apply the
marker_size_array
so that the difference is in point size can, at least to some degree, be maintained at different zoom levels. In the example below I've generated some lognormal marker size data which more closely resembles my use case.When zoomed out there are big differences in the marker sizes which generally piques a user's interest (see highlighted MERS document).
But upon zooming in to investigate, the large point is hard to find because it looks the same as all the others.
I understand the way the
point_radius_mix_pixels
andpoint_radius_max_pixels
are being applied, and it does feel natural for the points to get bigger as you zoom in, but I wonder if there is a way that some measure of differentiation can be maintained at those deeper zoom levels?