To avoid the page reloading when the app in use, the plugin calls "map.isAvailable()".