Closed serhii-londar closed 2 years ago
You'll want to multiply the alpha through the rest of the color.
You'll want to multiply the alpha through the rest of the color.
@mousebird Sorry, but I didn't get it.
Multiply the rest of your color values by 0.1
Ok, will try. Thank you!
Hi, I've faced the issue with setting fill colour for vectors with the alpha component. For some colours it becomes white. I'm using WhirlyGlobe 2.6.7 . The code for adding vectors is following:
When I set
kMaplyColor: [UIColor colorWithRed:1 green:0 blue:0 alpha:0.1]
, it works fine and result is the following(pay attention to circle):But, when I set
kMaplyColor: [UIColor colorWithRed:0.929412 green:0.305882 blue:0.317647 alpha:0.1]
, it fill vector with white color(pay attention to circle):Can you help me with that issue?