-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello community!
Using icon in Gmaker I noticed that in one specific occasion, the icon continues to be displayed to the user, even after removing all child components of Gmaps.
I created a Fiddle so you can check the behavior. The link is present on comments section, since the Forum is not allowing me to post it on description.
Steps to reproduce:
After the third step, you will be able to notice that the new Marker is being created on Gmaps as expected. Thus, the old one is not being removed correctly.
Note that this only happens when you render a new marker with the maximum zoom on the old one. To reproduce, you also need to provide a custom icon for gmarker instead of the default one.
I didn't find out why it happens or if I am doing something wrong. I would like to know if someone already fixed it or if there is any way to avoid that problem.
Asked: 2023-09-03 07:38:30 +0800
Seen: 5 times
Last updated: Sep 03
https://zkfiddle.org/sample/1b5jnh4/1-Gmaps-Markers-are-not-beeing-removed-after-change-lat-lng (Fiddle)
MarcosFavaretto ( 2023-09-03 07:42:53 +0800 )edit