Leaflet/Leaflet — pull request #1318 by yohanboniface (2013-01-27 11:24:02+00:00)
Title: Add LatLngBounds.getLeft/getBottom/getRight/getTop

The `toBBoxString` shortcut is very handy, but not all GIS support the "left,bottom,right,top" string.

So I figured that some left, bottom, right, top separate getters could be helpful.

See for example:

- [Notinatim](http://open.mapquestapi.com/nominatim/) `viewbox` is using left,top,right,bottom
- [JOSM](https://github.com/yohanboniface/Leaflet.EditInOSM/blob/master/Leaflet.EditInOSM.js#L67) remote listener expects separate left, bottom, right, top parameters
- [Overpass API](http://wiki.openstreetmap.org/wiki/Overpass_API) is using "minimum lat, minimum lng, maximum lat, maximum lng" (which is bottom, left, top, right) bbox string

Added specs also.

In case you are OK to add it in Leaflet core, we will need to document it, which is not done at the moment.

Thanks!

Yohan