Skip to content
Discussion options

You must be logged in to vote

Hi, indeed there is no option for the color, it has been discussed in #2869/#2872.

I suggest you to read https://symfony.com/bundles/ux-map/current/index.html#advanced-low-level-options and https://symfony.com/bundles/ux-map/current/index.html#advanced-passing-extra-data-from-php-to-the-stimulus-controller, the principe is to use extra key from Circle to pass data from PHP to JavaScript, and use the events to color the circle by yourself by using the value retrieved from extra key.

Note that if your color/opacity/etc... will stays the same, you don't need to pass it in extra key, you can directly use your color/opacity/... JavaScript side

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cbeyer
Comment options

Answer selected by cbeyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #3140 on October 16, 2025 08:31.