Fly To Location in Leaflet
map.flyTo()
is available in Leaflet 1.0.
However the parameters are different from those in the example. See http://leafletjs.com/reference-1.0.0.html#map-flyto
flyTo(<LatLng> latlng, <Number> zoom?, <Zoom/pan options> options?)
Example:
flyTo([13.87992, 45.9791], 12)