Is there a way of preventing a Google Maps (JS, v3) map being displayed from the get-go? I\'m doing some pre-processing and would like to show my \'Loading\' spinner until e
This works for me. I'm using the JQuery library.
$(document).ready(function(){ $('#Checkbox').click(function(){ $('#googleMapDiv').toggle(); initialize(); // initialize the map }); });