diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-06-07 01:31:29 -0400 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-06-07 01:31:29 -0400 |
commit | 6d400c5bdc2ca294c9f10836b590c7cd472e346b (patch) | |
tree | 2acf28325403543d02222ab921f0d59618b88a96 | |
parent | 456e523f18fce25bb7a5c69a608ed7f6fd39ed3e (diff) |
photon: update `Geocode`
Include villages in the search result.
-rw-r--r-- | photon/photon.go | 1 | ||||
-rw-r--r-- | version/version.go | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/photon/photon.go b/photon/photon.go index 8c85a09..d75d369 100644 --- a/photon/photon.go +++ b/photon/photon.go @@ -83,6 +83,7 @@ func Geocode(location string) ([]Coordinates, error) { q.Add("q", location) q.Add("osm_tag", "place:city") q.Add("osm_tag", "place:town") + q.Add("osm_tag", "place:village") q.Add("limit", "10") u.RawQuery = q.Encode() diff --git a/version/version.go b/version/version.go index dc7b01d..643d780 100644 --- a/version/version.go +++ b/version/version.go @@ -4,4 +4,4 @@ // Peach version. package version -const Version = "0.4.0" +const Version = "0.4.1.dev1" |