Topic: OnlineMapsDrawingPoly filled in circle
Hi, I'm trying to draw a circle where the center is filled.
So far all I've been able to achieve is just the border of the circle.
I tried this example: http://infinity-code.com/atlas/online-m … ample.html
But it doesn't seem to draw the transparent background that it says it does.
The exact code I tried is:
List<Vector2> poly = new List<Vector2>
{
//Geographic coordinates
new Vector2(0, 0),
new Vector2(1, 0),
new Vector2(2, 2),
new Vector2(0, 1)
};
// Draw filled transparent poly
OnlineMapsDrawingElementManager.AddItem(new OnlineMapsDrawingPoly(poly, Color.red, 1, new Color(1, 0 ,0, 1f)));
Am I doing something wrong? Are there extra stepts I forget?