Note:
If you are using Agile Pickup Center module 1.2 and above, this is not relevant.
The following information only applies to Agile Pickup Center module 1.1x or lower.
3. Why is distance calculated incorrectly and the customer address is not displayed on the map?
Background
- The Agile Pickup Center module will dynamically retrieve geographical location information, including latitude and longitude, from the Google Map website by calling the API fo Google.
http://maps.google.com/maps/geo?q=address
Note that your server needs to be configured to allow calling external websites from PHP pages so that the module is able to retrieve customer address latitude and longitude from the Google Map service site.
Solution
If above issue occurs, in most cases the problem is that your server is not allowing the call to an external website URL, such as Google.
Open the php.ini file under your store root folder, add following line, then save the file.
(Please create php.ini file if it does not exist under your store root folder)
allow_url_fopen = On