Zoom to geocode results

Zooming effectively to geocode results in client applications such as ArcGIS Pro and Map Viewer Classic is related to the extents that are included for each feature in the reference data used to build the locator. Below is an example of the extent coordinates defined for the feature, which are mapped during locator creation, and the zoom result of a searched location.

Zoom results using the feature extent fields

When modeling reference data for creating locators, include the extent (bounding box) coordinates of each feature so that the client application can zoom effectively to geocode and search results. If you do not include the bounding box coordinates for the features, your geocode results use a default zoom scale, which may not be appropriate for the geocode result. The following four elements define the extent of the feature. The ArcGIS World Geocoding Service, for example, contains these predefined values.



Minimum x-coordinate value


Minimum y-coordinate value


Maximum x-coordinate value


Maximum y-coordinate value

You can create these fields and assign the values in your reference data using the Calculate Geometry Attributes tool. They can be in latitude-longitude coordinates or projected values that are in the same spatial reference as the reference data. You can specify these fields when you create the locator.


When creating a locator based on polygons and the extent coordinates for each feature have been calculated and are used to build the locator, it is not expected that the extent coordinates returned by the locator will be the same as the reference data.

There may be cases where the bounding box values generated by these tools are not appropriate for some features. In these cases, you can update these records manually to zoom more effectively to these features. For example, if you search for a country that is irregularly shaped with an outlier island and the extent is not consistent with the bounding box of the feature, you can manually adjust these bounding box values to get a better zoom experience for the user.

Zoom to geocode results based on the feature's bounding box.