corrected code documentation
fix for binding events in mapevent to this automatically