Pass map instance reference to the heremapready event listener.