Added index parameter to onEachFeature()