I created offline geocoding with composite address locator according to this sample Geocoding | ArcGIS for Developers . I just used "Single Line Input" in address.Add.
Everything works fine in terms of displaying the correct location with the graphic overlay.
But the map is not zooming to that location it's just kind of centring. How should I change the code to zoom to the found location?
Could someone help me out with it?