Closed JamieMcDonnell closed 3 years ago
I was able to fix an issue in GoogleMap.vue and get your code to compile, and have modified the component to prevent reloading Google Maps library - I will create a pull request with my changes
I have accepted your PR and pushed version 0.7.2
. Thanks for the pull request. I will presume this to be closed but let me know if it isn't for some reason.
I am loading one map component in my main page, and when I try to open a drilldown (modal popup, overlay etc) with a second map component in I get the following error:
and
The following file: https://github.com/JamieMcDonnell/vue3-google-map/blob/develop/src/components/GoogleMap.vue
Needs to check if google maps api is already loaded, and if so, not create another instance of loader, or clear the current instance before creating a new one.
I would make the changes and create a PR but I am unable to compile your package. Please get in touch and we can work together to make this lib support multiple maps. Thanks