def build_circles(self, circles):
if not circles:<EOL><INDENT>return<EOL><DEDENT>if not isinstance(circles, list):<EOL><INDENT>raise AttributeError('<STR_LIT>')<EOL><DEDENT>for circle in circles:<EOL><INDENT>if isinstance(circle, dict):<EOL><INDENT>self.add_circle(**circle)<EOL><DEDENT>elif isinstance(circle, (tuple, list)):<EOL><INDENT>if len(circle) != <NUM_LIT:3>:<EOL><INDENT>raise AttributeError('<STR_LIT>')<EOL><DEDENT>circle_dict = self.build_circle_dict(circle[<NUM_LIT:0>],<EOL>circle[<NUM_LIT:1>],<EOL>circle[<NUM_LIT:2>])<EOL>self.add_circle(**circle_dict)<EOL><DEDENT><DEDENT>
Process data to construct rectangles

        This method is built from the assumption that the circles parameter
        is a list of:
            lists : a list with 3 elements indicating
                [center_latitude, center_longitude, radius]
            tuples : a tuple with 3 elements indicating
                (center_latitude, center_longitude, radius)
            dicts: a dictionary with circle attributes

        So, for instance, we have this general scenario as a input parameter:
            [[22.345,45.44, 1000],
             (22.345,45.44,200),
             {
            'stroke_color': stroke_color,
            'stroke_opacity': stroke_opacity,
            'stroke_weight': stroke_weight,
            'fill_color': fill_color,
            'fill_opacity': fill_opacity,
            'center': {'lat': center_latitude,
                       'lng': center_longitude,
                       },
            'radius': radius
            }]