The length limit of the address parameter is too strict
Opened this issue · 0 comments
Mini256 commented
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.
geocoder/src/model/geocode-query.ts
Line 10 in 841d8cd
To Reproduce
// Example code here
Expected behavior
Environment:
- Geocoder Version: x.y.z
- Node version: x.y.z