Announcements
Hello,
I tried to put geoJson shapes in my map. works fine, but colors don't change as requested. I create a collection and pointed the shapes color to the column color, but this doesn't work.
Any idea about what I'm doing wrong ?
best regards
Paul
@polo1604 could you change the RGBA(0;128;0;1) to "RGB(0,128,0)" (with quotes).Should that not work try your syntax variant (; instead of ,) "RGB(0;128;0)".Changing the RGBA to a string RGB value fixed the issue during my testing.If this solves your question, would you be so kind as to accept it as a solution.
@LaurensM
thanks for your message, but changing to a string RGB did not work, neither with ";" nor with ",".
there is no way to put the color value in a string.
I tried this, the color is shown in the collection (table) but not interpreted by the shape color..
Hi @polo1604 indeed that was also the case with my test.
However swapping this to {color: "RGB(0,128,0)"; ....} fixed it for me.
Hi @LaurensM
thanks very much for your help!
it looks like as there is a standard color which is overwriting my collection. is there somewhere a standard color of shapes ?
@polo1604 the shapes have a default color (blue) if no valid color is chosen (it will not overwrite a valid custom color).I tried it again and the "RGB(0,128,0)" worked and I have noted down the necessary steps.Could you give this another try:
I hope this helps!
Hi,
it doesn't accept the "RGB(0,128,0)"... error is shown (type not compatible)
@polo1604 could you try renaming Circle to Circle1 for a second to see if the error still occurs?
Should the error disappear, use Circle1 as datasource for the map during this test.
You are the best @LaurensM
it works now, after changing to circle1 and removing and adding the items and color etc.
how is this possible?
thanks a lot !
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 329 Most Valuable Professional
11manish 209 Super User 2026 Season 2
Mohsin Ali 179