Add a reference to the map object when the widget is created