It shall be unlawful for any person to use any cart, wagon or other vehicle for the purpose of transporting sand, earth or rock along or over any public street, unless such vehicle be so constructed as to prevent the deposit of the contents thereof, in whole or in part, in or upon any public street along or over which such vehicle may be driven.