def to_dict(self, detailed=False):
geoposition = self.location<EOL>return {<EOL>'<STR_LIT:id>': self.pk,<EOL>'<STR_LIT:title>': self.title,<EOL>'<STR_LIT:image>': _image_to_dict(self, self.image),<EOL>'<STR_LIT:description>': self.description,<EOL>'<STR_LIT>': self.group_id,<EOL>'<STR_LIT:location>': [float(geoposition.latitude), float(geoposition.longitude)],<EOL>}<EOL>
Export the marker data for the frontend.

:param expanded: Tell whether more detailed information should be added, for the detail page.
:type expanded: bool