Google map is not loading first time in ajax request

Hi Everyone,

I have a button. When i click this button, it goes to php through ajax request to get map pins. When i click the button first time, the map is not be loaded. when i click second time it loads. It works fine in dev server. It is not working in live. Live server has https://.

Please help me.

Thanks,

Priya

Can you post a link to the website so we can see for ourselves and debug?