google-static-maps-0.7.0.0: Bindings to the Google Maps Static API (formerly Static Maps API)
Copyright(c) Mike Pilgrem 2017 2018 2021
Maintainerpublic@pilgrem.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Web.Google.Maps.Common

Description

This module has no connection with Google Inc. or its affiliates.

Synopsis

Functions

googleMapsApis :: BaseUrl Source #

The base URL for the Google Maps Platform APIs.

Types

newtype Address Source #

Address

Constructors

Address Text 

Instances

Instances details
Eq Address Source # 
Instance details

Defined in Web.Google.Maps.Common

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Show Address Source # 
Instance details

Defined in Web.Google.Maps.Common

ToHttpApiData Address Source # 
Instance details

Defined in Web.Google.Maps.Common

newtype Key Source #

API key

Constructors

Key Text 

Instances

Instances details
Eq Key Source # 
Instance details

Defined in Web.Google.Maps.Common

Methods

(==) :: Key -> Key -> Bool #

(/=) :: Key -> Key -> Bool #

Show Key Source # 
Instance details

Defined in Web.Google.Maps.Common

Methods

showsPrec :: Int -> Key -> ShowS #

show :: Key -> String #

showList :: [Key] -> ShowS #

ToHttpApiData Key Source # 
Instance details

Defined in Web.Google.Maps.Common

data Language Source #

Language: supported languages based on the list at https://developers.google.com/maps/faq#languagesupport (as at 12 June 2021).

Constructors

Afrikaans

Since: 0.7.0.0

Albanian 
Amharic

Since: 0.7.0.0

Arabic 
Armenian

Since: 0.7.0.0

Azerbaijani

Since: 0.7.0.0

Basque 
Belarusian 
Bengali 
Bosnian

Since: 0.7.0.0

Bulgarian 
Burmese 
Catalan 
Chinese

Since: 0.7.0.0

ChineseSimplified 
ChineseHongKong

Since: 0.7.0.0

ChineseTraditional 
Croatian 
Czech 
Danish 
Dutch 
English 
EnglishAustralian 
EnglishBritish 
Estonian

Since: 0.7.0.0

Farsi 
Filipino 
Finnish 
French 
FrenchCanadian

Since: 0.7.0.0

Galician 
Georgian

Since: 0.7.0.0

German 
Greek 
Gujarati 
Hebrew 
Hindi 
Icelandic

Since: 0.7.0.0

Hungarian 
Indonesian 
Italian 
Japanese 
Kannada 
Kazakh 
Khmer

Since: 0.7.0.0

Korean 
Kyrgyz 
Lao

Since: 0.7.0.0

Latvian 
Lithuanian 
Macedonian 
Malay

Since: 0.7.0.0

Malayalam 
Marathi 
Mongolian

Since: 0.7.0.0

Nepali

Since: 0.7.0.0

Norwegian 
Polish 
Portuguese 
PortugueseBrazil 
PortuguesePortugal 
Punjabi 
Romanian 
Russian 
Serbian 
Sinhalese

Since: 0.7.0.0

Slovak 
Slovenian 
Spanish 
SpanishLatinAmerican

Since: 0.7.0.0

Swahili

Since: 0.7.0.0

Swedish 
Tagalog

No longer listed by Google at 12 June 2021. See Filipino.

Tamil 
Telugu 
Thai 
Turkish 
Ukrainian 
Urdu

Since: 0.7.0.0

Uzbek 
Vietnamese 
Zulu

Since: 0.7.0.0

Instances

Instances details
Eq Language Source # 
Instance details

Defined in Web.Google.Maps.Common

Show Language Source # 
Instance details

Defined in Web.Google.Maps.Common

ToHttpApiData Language Source # 
Instance details

Defined in Web.Google.Maps.Common

data LatLng Source #

Latitude and longitude: precision beyond 6 decimal places is ignored.

Constructors

LatLng 

Fields

  • lat :: Double

    Takes any value between -90 and 90.

  • lng :: Double

    Takes any value between -180 and 180.

Instances

Instances details
Eq LatLng Source # 
Instance details

Defined in Web.Google.Maps.Common

Methods

(==) :: LatLng -> LatLng -> Bool #

(/=) :: LatLng -> LatLng -> Bool #

Show LatLng Source # 
Instance details

Defined in Web.Google.Maps.Common

Generic LatLng Source # 
Instance details

Defined in Web.Google.Maps.Common

Associated Types

type Rep LatLng :: Type -> Type #

Methods

from :: LatLng -> Rep LatLng x #

to :: Rep LatLng x -> LatLng #

FromJSON LatLng Source # 
Instance details

Defined in Web.Google.Maps.Common

ToHttpApiData LatLng Source # 
Instance details

Defined in Web.Google.Maps.Common

type Rep LatLng Source # 
Instance details

Defined in Web.Google.Maps.Common

type Rep LatLng = D1 ('MetaData "LatLng" "Web.Google.Maps.Common" "google-static-maps-0.7.0.0-I2JsPqt1xEw4jGQr8bBa21" 'False) (C1 ('MetaCons "LatLng" 'PrefixI 'True) (S1 ('MetaSel ('Just "lat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "lng") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))

data Region Source #

Region: a ccTLD (country code top level domain).

Constructors

AD 
AE 
AF 
AG 
AI 
AL 
AM 
AO 
AQ 
AR 
AS 
AT 
AU 
AW 
AX 
AZ 
BA 
BB 
BD 
BE 
BF 
BG 
BH 
BI 
BJ 
BL 
BM 
BN 
BO 
BQ 
BR 
BS 
BT 
BV 
BW 
BY 
BZ 
CA 
CC 
CD 
CF 
CG 
CH 
CI 
CK 
CL 
CM 
CN 
CO 
CR 
CU 
CV 
CW 
CX 
CY 
CZ 
DE 
DJ 
DK 
DM 
DO 
DZ 
EC 
EE 
EG 
EH 
ER 
ES 
ET 
FI 
FJ 
FK 
FM 
FO 
FR 
GA 
GB 
GD 
GE 
GF 
GG 
GH 
GI 
GL 
GM 
GN 
GP 
GQ 
GR 
GS 
GT 
GU 
GW 
GY 
HK 
HM 
HN 
HR 
HT 
HU 
ID 
IE 
IL 
IM 
IN 
IO 
IQ 
IR 
IS 
IT 
JE 
JM 
JO 
JP 
KE 
KG 
KH 
KI 
KM 
KN 
KP 
KR 
KW 
KY 
KZ 
LA 
LB 
LC 
LI 
LK 
LR 
LS 
LT 
LU 
LV 
LY 
MA 
MC 
MD 
ME 
MF 
MG 
MH 
MK 
ML 
MM 
MN 
MO 
MP 
MQ 
MR 
MS 
MT 
MU 
MV 
MW 
MX 
MY 
MZ 
NA 
NC 
NE 
NF 
NG 
NI 
NL 
NO 
NP 
NR 
NU 
NZ 
OM 
PA 
PE 
PF 
PG 
PH 
PK 
PL 
PM 
PN 
PR 
PS 
PT 
PW 
PY 
QA 
RE 
RO 
RS 
RU 
RW 
SA 
SB 
SC 
SD 
SE 
SG 
SH 
SI 
SJ 
SK 
SL 
SM 
SN 
SO 
SR 
SS 
ST 
SV 
SX 
SY 
SZ 
TC 
TD 
TF 
TG 
TH 
TJ 
TK 
TL 
TM 
TN 
TO 
TR 
TT 
TV 
TW 
TZ 
UA 
UG 
UM 
US 
UY 
UZ 
VA 
VC 
VE 
VG 
VI 
VN 
VU 
WF 
WS 
YE 
YT 
ZA 
ZM 
ZW 
AC 
UK 
EU 

Instances

Instances details
Eq Region Source # 
Instance details

Defined in Web.Google.Maps.Common

Methods

(==) :: Region -> Region -> Bool #

(/=) :: Region -> Region -> Bool #

Show Region Source # 
Instance details

Defined in Web.Google.Maps.Common

ToHttpApiData Region Source # 
Instance details

Defined in Web.Google.Maps.Common