Listen map layeradd event

This change fixed no loading indicator issue if layers are added later.