Google-maps-react: How to apply styling Wizard

Created on 19 Feb 2018  路  1Comment  路  Source: fullstackreact/google-maps-react

I got json the format.

[
{
"elementType": "geometry",
"stylers": [
{
"color": "#f5f5f5"
}
]
},
{
"elementType": "labels.icon",
"stylers": [
{
"visibility": "off"
}
]
}]
i tried in map component add styles, but not applyed.

how can i this?

Most helpful comment

Use the styles prop on the Map element. Note that its plural.

>All comments

Use the styles prop on the Map element. Note that its plural.

Was this page helpful?
0 / 5 - 0 ratings