Location picker in a form

I am trying to build a delivery app where customers could specify their location by clicking on map picker. It is needed if the customer wants goods to be delivered to some location that is different from their current location. It is particularly essential when there’s no address i.e. some distant point outside of the city. What’s the best practice to do that?