How to dynamically delete google maps?

84 views Asked by At

The question arose as to how to dynamically delete google maps, and/or unsubscribe from the event of creating (loading) the map.

I use vue2-google-maps.

main.js:

const { lang } = localStorage.getItem('lang') || 'en';
Vue.use(VueGoogleMaps, {
  load: {
    key: config.TOKEN_GOOGLE,
    language: lang,
    libraries: ['places', 'visualization']
  }
});
0

There are 0 answers