Defer attribute doesn't work with Google Maps API?
问题 I'm trying to make sure the Google map is the last thing that loads on the page and doesn't affect the performance of the page negatively. When the defer attribute is placed after ...sensor=false", the map does not appear. What's the best way to use the defer attribute with Google maps? Is this even possible? <div id="map-canvas"></div> <script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=false" defer></script> <script defer> function