def render(self, **kwargs):
for item in self._parent._children.values():<EOL><INDENT>if not isinstance(item, Layer) or not item.control:<EOL><INDENT>continue<EOL><DEDENT>key = item.layer_name<EOL>if not item.overlay:<EOL><INDENT>self.base_layers[key] = item.get_name()<EOL>if len(self.base_layers) > <NUM_LIT:1>:<EOL><INDENT>self.layers_untoggle[key] = item.get_name()<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.overlays[key] = item.get_name()<EOL>if not item.show:<EOL><INDENT>self.layers_untoggle[key] = item.get_name()<EOL><DEDENT><DEDENT><DEDENT>super(LayerControl, self).render()<EOL>
Renders the HTML representation of the element.