Perf convert latlngs

Assert-related change is already included here https://github.com/Leaflet/Leaflet/pull/2741, so please rebase and remove it in this pull.