def to_dict(self):
return {<EOL>'<STR_LIT:id>': self.pk,<EOL>'<STR_LIT:title>': self.title,<EOL>'<STR_LIT>': {<EOL>'<STR_LIT:url>': self.marker_image.url if self.marker_image else None,<EOL>'<STR_LIT:width>': self.marker_image.width if self.marker_image else <NUM_LIT:16>,<EOL>'<STR_LIT>': self.marker_image.height if self.marker_image else <NUM_LIT:16>,<EOL>'<STR_LIT>': self.marker_zoom,<EOL>},<EOL>'<STR_LIT>': [<EOL>marker.to_dict() for marker in self.markers.all()<EOL>],<EOL>}<EOL>
Export the group data for the frontend.