I'm moving my web app from Google maps JS api to leaflet.
Everything is going well so far until I tried to calculate the "span" value.
In Google maps api I just wrote
But I cant find this function in leaflet api documentation.
If there isn't an equivalent to this function Is there anybody who know how am I suppose to implement this function in leaflet by myself?
Thanks a lot.