Using Azure.Maps.Rendering I am setting the pin and label colors. The label color works fine. But the pin color, while it does change based on the setting, does not match the setting. For example, for the following code:
var pushpinSet = new ImagePushpinStyle(new List<PushpinPosition>() { position })
{
PushpinScaleRatio = 0.8, //1.2,
PushpinColor = Color.Red,
LabelColor = Color.Green,
LabelScaleRatio = 10 //18
};
I get the map:
That's not red. Any idea how to get this to work?
This unfortunately appears to be a known bug in the SDK at this time.
Currently, in azure-sdk-for-net/sdk/maps/Azure.Maps.Rendering/src/Models/ImagePushpinStyle.cs, the pushpin color information is extracted, but unfortunately the alpha value is also used for the blue component, instead of the blue value...