Map with Sized Pin Bullets
This demo implements pin-like bullets with the pin head size adjusted based on the corresponding value.
Key implementation details
We are working with bullets on a map point series. We create a Container
which is a composite of the parts of our pin. We adjust the pin head radius based on the data item’s value and create a Circle
in the container with that radius and vertically offset it accordingly. Then we create a Line
for the pin pole and a Label
. Finally, we set our composite container as the sprite
for our Bullet
.