Better zoom support in geocoding

14. 1. 2025

The suggestion and geocoding functions now also return a bounding box for found entities – coordinates of a rectangle surrounding the entity. This bounding box can be easily used for optimal visualization of results on the map, especially to set the correct zoom level.
For instance, displaying an address or a company requires closer zooming, whereas a city or state should be shown with a wider view.
Thanks to this new feature, you only need to pass the returned bounding box to the map library, which will automatically adjust the zoom level based on the rectangle’s size.

Check out the functional example!