Hi, all,
I am brand new to SwiftUI and in the process of converting an app built in AppBuilder to a native Swift app.
Using the example in the Samples app, I am reverse geocoding a point, and using a custom locator. I would like to include the functionality whereby a user can tap and drag the magnifier around, or tap on a location and reverse geocode that point. So far, I have achieved this.
What I am trying to solve (if possible) is to reduce the maximum distance at which a user will see a reverse geocode result. Currently, I am getting a geocode result, even when tapping far from the feature.
Using the code examples, and reading the documentation, I see that the range is limited to between 1000 and 50000m.
Does anyone know if I can possibly override this??
Code is from:
final public class ReverseGeocodeParameters
/// Distance specifying with location the area where candidates will be searched in meters. If `nil`, there is no maximum.
///
/// Distance specifying with location the area where candidates will be searched [meters].
/// Supported value in a range between 1000 and 50000 meters, 1000 meters by default.
final public var maxDistance: Double?