My scenario is as follows. I am providing a location search field which displays the map at the location selected. The geocoding request from the search returns the bounding diagonal {NE, SW} of the location's area.
I would like to fit the bounds of the map control to those of the searched location.
Leaflet and Google Maps both have the fitBounds method which does exactly what I need. It pans and zooms the map to fit the a bounding box.
Any help would be greatly appreciated.