If you’re using Litespeed Cache plugin and your maps are not displaying, try adjusting the following settings, in the Cache plugin:
Litespeed Cache > Page Optimization > Tuning > JS Excludes
Add to the list
JS Deferred Delayed/Excludes:
Another approach could be to use the option to exclude the page where you have the map from being cached, in Cache > Excludes.