All housing projects of an authority are subject to the planning, zoning, sanitary, and building laws, ordinances, and regulations applicable in the locality in which the housing project is situated. In the planning and location of any housing project, an authority shall take into consideration the relationship of the project to any larger plan or long-range program for the development of the area in which the housing authority functions.