PhotonForwardParams constructor
const
PhotonForwardParams({})
Improve your results based on additional parameters.
- Prioritize locations within a certain
boundingBox
or around a certainlatitude
andlongitude
. Can be further influenced byzoom
andlocationBiasScale
, see Photon's documentation - The
langCode
is an ISO-639-1 language code. Supported languages are EN, DE, FR. When nolangCode
is given, the default language is the main language at the result's location. - Use
layer
to filter by a certain layer, see Photon documentation for this. PhotonLayer specifies constants that are ready to use. - Use
osmTag
to filter by certain OSM tags and values, see Photon documentation for this. limit
limits the number of search resultsadditionalQuery
is for any additional URL query parameter, e.g., features that will be added in the future and aren't yet supported.
Implementation
const PhotonForwardParams(
{this.boundingBox,
this.zoom,
this.locationBiasScale,
super.limit,
super.latitude,
super.longitude,
super.langCode,
super.layer,
super.osmTag,
super.additionalQuery});