Maybe you can try the new “Google Search” plugin. It contains a map search function. Here is a detailed description: [NEW PLUGIN] Google Search.
You can retrieve the coordinates of the places you entered. The calculation of the distance from the coordinates should be easy by then.
Hope that helps!