When the change was made in version 3.4 I explained in the accompanying blog post that the Map property should be set to the ID of the GoogleMap where the overlays are to be fetched from. So if your GoogleMap is called 'GMap' then you would write:
Sidebar.Map = 'GMap';