Implemented MapInitialize event.