Re:I made a simple geolocation service
by jacobush on Friday July 24, 2020 @06:03AM
(#23937650)
Kosovo is not universally recognised though, to be fair. But yes, I'd include it. Even if you are against in principle, it's de facto a state and treated as such even by many countries not recognising it in name.
[ Parent
| on HN ]
Re:I made a simple geolocation service
by hansitomani on Friday July 24, 2020 @06:14AM
(#23937714)
But that would mean that your API should return a country specific result to be accurate.
Which is precisely what for example Mapbox does - they allow consumers to specify a worldview, which adjusts borders and other geographic features based on the specified culture: https://docs.mapbox.com/help/glossary/worldview/