WILDWOOD -- A 31-year-old Mays Landing man was arrested Tuesday on numerous drug charges after investigators found roughly 2,000 bags of heroin in his car, police said.

Luis Gonzalez's arrest capped a four-week investigation into the reported sale of drugs from a 2012 Hyundai Sonata at various locations around Wildwood, the city's police department said in a Facebook post.

A member of the department's Street Crimes Unit pulled the car over around 3:15 p.m. on Tuesday after watching Gonzalez commit moving violations, police said. Officers later obtained a search warrant for the car after a police dog indicated drugs were inside the vehicle, authorities said.

Officers found about 2,000 bags of heroin -- worth approximately $20,000 -- and 8 grams of methamphetamine, along with other drug paraphernalia, police said.

Authorities said Gonzalez was arrested on nine indictable offenses that included distributing more than an ounce of heroin and distributing heroin within 500 feet of certain public property.

Thomas Moriarty may be reached at tmoriarty@njadvancemedia.com. Follow him on Twitter at @ThomasDMoriarty. Find NJ.com on Facebook.