Safe Haskell | None |
---|---|
Language | Haskell2010 |
This very simple module returns a Maybe Location info for a set of coordinates.
Right now only one provider is given (OpenStreeMap), and the Suburb/Street parsing could be improved, but this is enough for our needs.
Feel free to contribute!
Documentation
defaultReverseGeoProvider :: ReverseGeoProvider Source
Default reverse geo provider
getLocationInfo :: Latitude -> Longitude -> ReverseGeoProvider -> IO (Maybe ParsedLocationInfo) Source
Given a Latitude and Longitude, return a Location Info.
getLocationInfoDef :: Latitude -> Longitude -> IO (Maybe ParsedLocationInfo) Source
Get location info from default provider (right now Open Stree Map)