def on_marker(self, marker):
mid, pos = marker<EOL>self.marker = Marker(__id__=mid)<EOL>mapview = self.parent()<EOL>mapview.markers[mid] = self<EOL>self.marker.setTag(mid)<EOL>for w in self.child_widgets():<EOL><INDENT>mapview.init_info_window_adapter()<EOL>break<EOL><DEDENT>d = self.declaration<EOL>if d.show_info:<EOL><INDENT>self.set_show_info(d.show_info)<EOL><DEDENT>del self.options<EOL>
Convert our options into the actual marker object