replaces "feature" with "layer" to bind layers events

Using the same terms Leaflet uses.