Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.data().filter(row => !this.omitNullLatLong() || (!!row[latIdx] && !!row[longIdx])).forEach(row => {
this.add(new Circle([row[latIdx], row[longIdx]], {
color: this.propValue(strokeColorIdx, row, this.strokeColor()),
fill: true,
fillColor: this.propValue(fillColorIdx, row, this.fillColor()),
fillOpacity: this.fillOpacity(),
radius: this.radius(),
origRow: row
} as any).on("click", e => this.clickHandler(e, row)));
});
}