I am stumped at one thing. I create a Google maps with API key on a website. I would like that user enters “postcode number” on a field next to a map. When searching, the maps show the nearest places (from the CMS entities already entered) for specific radius let say 10 miles.
But to calculate nearest places from postcode entered, I have called PHP file on happydeskapi server using Ajax. Now the problem is the ajax request does not wait for response from server. Its jQuery and Ajax issue and I am trying to resolve it from hours but no clue. Tried many solutions
Thanks in advance for your help!