Cities and counties are authorized to enact ordinances regulating or prohibiting the establishment of new cemeteries or the extension of existing ones and to give power to local planning commissions to pass upon and make recommendations to local legislative bodies concerning the establishment or extension of cemeteries.