How can I read current zoom level of Mapbox?
<p>I have a back to home function</p>

<pre><code>function panToHome(){
    latLng = [current.lat, current.lng];
    map.setView(latLng, 8);
}
</code></pre>

<p>I want to save the current view as history, so user can switch back as they might click mistakely. So the question is how can I know the current latlng on Mapbox?!</p>