[Map] How to change circle colors ? #3141
Unanswered
cbeyer
asked this question in
Questions & Answers
Replies: 1 comment
-
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 Note that if your color/opacity/etc... will stays the same, you don't need to pass it in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using symfony/ux-map v2.30.0 (with symfony/ux-leaflet-map)
I want to draw a circle and customize his colors : fill color and border color. And why not opacity.
Looking https://github.com/symfony/ux/blob/2.x/src/Map/src/Circle.php there is no parameter dealing with colors.
How is it possible to do that ?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions