Dynamically set pixelSize by PointPrimitive

Is there a way to set the pixelSize of a PointPrimitive dynamically?

ie:- When we zoom out make the size larger and then zoom in make them smaller?

What you are looking for is a property called scaleByDistance. Documentation is here.

1 Like

AWESOME! Thank you