Hi All,

I am using google maps API for searching houses in a city(any location). In maps, by default markers will be loaded based on database results and user need to select locations they are interested. If user draws multiple polygons around markers, those markers should be visible and other markers should become invisible. I almost done most part of it.

Now the issue is,when i draw multiple polygons, only one marker with one polygon is visible. Other selected markers are getting invisible. I am trying from past two days and able to get it done. Can anyone guide me to fix this issue.

Mentioned issue is kept in jsfiddle, have a look and let me know


First select location and draw circles around multiple markers. then click on apply, you will find the issue!!!!!!!!!!