A php page showing a Google map in a div container,
A Search box so user can type in a post code/address to show a pin of the location on the map.
The address is put into a text field.
The Latitude is put into a second text field.
The Longitude is put into a third text field.
Secondly, the User can drag the pin in case the location is not quite correct.
In doing this, it updates the lat and long text fields as the pin is being dragged.