My test site under development utilizes Google Maps JavaScript API client geocoder. When the site runs under local host, the latitude and longitude are returned correctly and are then properly utilized by my js scripts. However, when the identical site runs under the virtual host I have created for the project, nothing is returned by the API. In fact, it doesn't work.
To my surprise in both of these cases the same code is executed. I am running Apache 2.4.23 in WAMP
To confuse things even more, a simple google maps call for a contact page renders correctly in both the localhost and virtual host. Only this aspect of google maps works within the site with the only distinction being the call does not utilize the JavaScript API geocoder.
In both
Any assistance would be greatly appreciated. Thank you in advance.
Regards Jack Kut