Safe Haskell | None |
---|---|
Language | Haskell2010 |
Here we define providers for the Reverse Geocoding feature, namely how to format the url, the key under which the results are returned, and how to parse the retrived data.
Currently only Open Stree Map is provided, feel free to add others.
Documentation
type ReverseGeoJsonKey = Text Source
type ReverseGeoParser = Object -> Parser ParsedLocationInfo Source
type ReverseGeoProvider = (ReverseGeoJsonKey, ReverseGeoUrl, ReverseGeoParser) Source