[Google Maps] Loading the map with Ajax

Forge Component
Published on 2018-10-18 by Labs
27 votes
Published on 2018-10-18 by Labs


I encountered an error when I tried to load the map using AJAX, it broke my page because of the error described here:


My workaround for now is to show the map all the time, which probably suffices for us. I just wanted to give you a heads up on the error I got. 

You need an object to load the map. Why don't you create the object and keep it hidden?