Describe the bug
In GeocodeQuery, the constraints limit the parameter address length. In fact, many Chinese place names only need two words to describe.
For example, 杭州 means Hangzhou city, its length is only 2, but this is a valid address.
Maybe there are some place names in other languages also short.
To Reproduce
Expected behavior
Environment:
- Geocoder Version: x.y.z
- Node version: x.y.z
Additional context/Screenshots
Describe the bug
In
GeocodeQuery, the constraints limit the parameteraddresslength. In fact, many Chinese place names only need two words to describe.For example,
杭州means Hangzhou city, its length is only 2, but this is a valid address.Maybe there are some place names in other languages also short.
geocoder/src/model/geocode-query.ts
Line 10 in 841d8cd
To Reproduce
// Example code hereExpected behavior
Environment:
Additional context/Screenshots