Some states require that livestock farms have “manure management plans” filed with the state.
Start checking around to see if theirs are in compliance.
You not only have to deal with local zoning laws, there are also state and Federal regs that impact the application of manure on fields.