I'd suggest using map.on instead map.addEventListener. map.on is the actual exported API function.