Closed RemiC2care closed 2 years ago
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow. If this is a bug report, provide a reproduction that follows the instructions at https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro.
Hi, why do you consider this is not a bug ?
Version
3.2.31
Reproduction link
github.com
Steps to reproduce
First, put your Google map api key in src/utils/gmaps.js
npm i, then: npm run serve
When clicking on the map, the previous marker should disappear. But it doesn't. The exact same code work well in vue 2.
In /src/components/GMap.vue line 75 Google Map Api .setMap() function is not working.
What is expected?
When clicking on the map, the previous marker should disappear
What is actually happening?
After every click a new marker is generated, but the previous one is not deleted. Google Map Api .setMap() function is not working.