typescript - How to include Google Maps in Ionic Page with no Internet fallback -


i need use google maps javascript api inside ionic application 1 page. i'm integrating source in index.html with:

<script src="https://maps.googleapis.com/maps/api/js?key=xxx&libraries=places"></script> 

problem: when i've got no/a slow internet connection ionic application won't show until script loaded.

how can integrate script in required page , show message if can't load?


Comments