TD.Data.Location
data Location Source #
Constructors
Describes a location on planet Earth
Fields
Latitude of the location in degrees; as defined by the sender
Longitude of the location, in degrees; as defined by the sender
The estimated horizontal accuracy of the location, in meters; as defined by the sender. 0 if unknown
Defined in TD.Data.Location
Methods
parseJSON :: Value -> Parser Location #
parseJSONList :: Value -> Parser [Location] #
toJSON :: Location -> Value #
toEncoding :: Location -> Encoding #
toJSONList :: [Location] -> Value #
toEncodingList :: [Location] -> Encoding #
showsPrec :: Int -> Location -> ShowS #
show :: Location -> String #
showList :: [Location] -> ShowS #
(==) :: Location -> Location -> Bool #
(/=) :: Location -> Location -> Bool #
shortShow :: Location -> String Source #
defaultLocation :: Location Source #