Cal. Gov't Code § 66484.7
(a) A local ordinance may require the payment of a fee, subject to the Mitigation Fee Act (Chapter 5 (commencing with Section 66000), Chapter 6 (commencing with Section 66010), Chapter 7 (commencing with Section 66012), Chapter 8 (commencing with Section 66016), and Chapter 9 (commencing with Section 66020) of Division 1), as a condition of approval of a final map or as a condition of issuing a building permit for purposes of defraying the actual or estimated cost of constructing transportation facilities. For purposes of this section, transportation facilities mean pedestrian, bicycle, transit, and traffic-calming facilities. The ordinance may require payment of fees pursuant to this section if all of the following requirements are satisfied: