Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3353

Is there an fitBounds method or equivalent in sap.ui.vbm.VBI?

$
0
0

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.


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>