leaflet map event control overworked