Google-Maps-for-Craft icon indicating copy to clipboard operation
Google-Maps-for-Craft copied to clipboard

Support for Ajax maps

Open keithmancuso opened this issue 10 years ago • 3 comments

I have a page that's loaded over Ajax with maps on it but the maps won't load.

I know with the regular google js code they suggest delaying the initialize until after a callback from the main js like this.

Would love to see some built in way to do that here

keithmancuso avatar Jan 28 '15 00:01 keithmancuso

Like this. https://developers.google.com/maps/documentation/javascript/examples/map-simple-async

keithmancuso avatar Jan 28 '15 00:01 keithmancuso

Thanks Keith, I will definitely look into this. As long as I can make it work across the board without an issues, I should probably do this by default anyway.

objectivehtml avatar Jan 28 '15 00:01 objectivehtml

Any progress on this? Being trying to hack at it myself with no luck and I have a project that depends on it to work. Hmm

keithmancuso avatar Mar 08 '15 01:03 keithmancuso