Improve event binding at adding markers, polylines or polygons