Hi all,
I have been looking at the code sample for making an Legend Adornment Layer. wiki.thinkgeo.com/wiki/Map_S...ment_Layer
I like to say the code sample is very helpful and provided a great starting points.
What is the best way to have the legent overlay present with a solid background color? As demostrated in the code sample, the adornment layer is transparent. This makes the legend very hard to see when you have other layers visible.
I have tired:
legendBitmap = new Bitmap((int)legendIconWidth, (int)legendIconHeight );
legendBitmap.MakeTransparent( Color.Gray );
But it doesn't work. All I want to achieve is to place the legend inside a square gray rectangle.
Your assistnace will be very thanksful.