Map - add locations by name instead of address

Its vital to be able to add locations for a task based on the name of the location, rather then adding street address.
Maybe use google maps api for that ?