Hi,
Thanks for your message and for getting the commercial version of the plugin.
We understand the requirements of your website, and although VikRentCar allows to load the Google Maps API libraries in JavaScript by entering your Google Maps API key from the configuration settings, the only Google Maps API endpoints used by our plugin serve to render a map with a pin/marker for each location configured within our plugin. Unfortunately, there are no functions that make use of their Distance Matrix APIs to calculate a distance between two points. As you’ve noticed, entering a delivery address is not a native function, but such features could be implemented by adding custom “Views” through WordPress native plugins to extend the native functions, or you could override some of the existing pages to add the required tools. In this case you could have your developers use the “Overrides Manager” tool available in the configuration page to work on a copy of the original source code of a specific page/View.
Moreover, the commercial version of the plugin allows to define custom Options/Extra Services that would apply an additional fee to the rental order. You could use the native functions to set up a mandatory option/extra that accepts a number for the calculated distance in Km between two addresses. By default this extra fee will be displayed as an input field of type number and its cost should be per km/mile (cost per quantity). Once you have this set up, any PHP developer could override that page to allow the users to enter their delivery address and calculate the distance in Km/Miles between the two points and populate the input field of type number with the value obtained. This is just an example on how you could achieve these functions through custom overrides that would not be affected by installing future updates for our plugin.
We hope this helps!
The VikWP Team