To edit location data for a single photo, select a photo and click the button with the marker icon in the left-bottom corner of the minimap:
To edit the location of the photos batch, select multiple photos and go to the context menu Places->Assign a location: