problem of overlapping Click event on canvaspushpins

Feb 11, 2015 at 2:35 PM
We use canvaspushpinmodule.js to create pushpins of different colors, which renders fine. I also change the shape of each pushpin based on a value attached to that pin, i.e smallest value will have a smaller circle and largest will have the largest circle.

But the problem is, the click event of two nearby pins is overlapping. That means if I click pushpin A ,then its shows infobox of pushpin B that is nearby .
Also the click event of a pushpin is fired (gets active) even on areas outside the colored region.

Please help\suggest !!