Example #1
0
        public LuaMapCircle AddCircle(LuaPoint geoLoc, double radius, LuaColor strokeColor, LuaColor fillColor)
        {
            Map map = ((Map)view);

            MapCircle mc = new MapCircle();

            mc.setRadius(radius);
            mc.setStrokeColor(strokeColor.GetColorObject());
            mc.setFillColor(fillColor.GetColorObject());
            mc.setCenter(geoLoc.ToPoint());
            LuaMapCircle lmc = new LuaMapCircle(mc);

            return(lmc);
        }
 public void SetCenter(LuaPoint center)
 {
     circle.setCenter(new Point(center.x, center.y));
 }