ights used on all such vehicles and locomotives; to regulate the locating, constructing, and laying of the track of horse, electric, and other forms of railroad in the streets or other public places of the city authorized by law; to provide for and change the location, grade and crossings of railroads, and compel any such railroad to raise or lower its tracks to conform to such provisions or chang