PDA

View Full Version : multiple polygons and multiple markers in Google MAPS API



hemi519
07-11-2015, 05:16 PM
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

http://jsfiddle.net/hemachandra/bez82Lk1/16/

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