GeoDataClient.BoundsMode

  • GeoDataClient.BoundsMode is an annotation used to restrict bounds for Autocomplete predictions.

  • The BIAS constant biases predictions towards supplied bounds, but they might not be strictly within them.

  • The STRICT constant ensures returned predictions are strictly contained within the supplied bounds.

public static abstract @interface GeoDataClient.BoundsMode implements Annotation

Bounds restriction to be applied to Autocomplete predictions.

Constant Summary

int BIAS Returned predictions will be biased towards the supplied bounds, but may not necessarily be within the bounds.
int STRICT Return predictions will be contained by the supplied bounds.

Inherited Method Summary

Constants

public static final int BIAS

Returned predictions will be biased towards the supplied bounds, but may not necessarily be within the bounds.

Constant Value: 1

public static final int STRICT

Return predictions will be contained by the supplied bounds.

Constant Value: 2