Why does my map load sometimes but not other times?

If the map only loads intermittently, this usually means that the map's parent div has not had a chance to fully load when the map script is executed. This can happen if the parent div is animated or manipulated by other scripts or CSS on the page. The way to avoid this problem is to manually load the map only after the window has loaded. You can do that with this embedding code:

<script src="mapdata.js"></script>  <script>simplemaps_usmap_mapdata.main_settings.auto_load = 'no';</script> 
<script src="usmap.js"></script> <script> window.addEventListener('load', (event) => {  
 simplemaps_usmap.load(); });
</script> <div id="map"></div>

Where all instances of usmap should be replaced with your map's actual name. If the problem persists, please send us a public url so that we can further troubleshoot.