objectivehtml / Google-Maps-for-Craft

The complete geolocation toolkit for Craft CMS.
Other
94 stars 19 forks source link

Support for Ajax maps #27

Open keithmancuso opened 9 years ago

keithmancuso commented 9 years ago

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 commented 9 years ago

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

objectivehtml commented 9 years ago

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.

keithmancuso commented 9 years ago

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