Open
Description
Hi,
I add two different types of markers to the map. Let's say I add 10 red ones and 10 blue ones.
I have two buttons (red and blue). When I click the blue button, I hide the red markers. When I click the red button, I hide the blue markers. I use marker.setVisible().
This all works, but sometimes I get a problem.
Sometimes, I will click blue to show only the blue markers but some of the red ones are still visible. I think it is just a painting issue because if I zoom in and then zoom back out, they are gone and all is correct again.
So, is there something like map.refresh or map.repaint that I could call after I have set all the visibilities?
Thanks a lot,
Jim