Skip to content

Instantly share code, notes, and snippets.

@TheTiger13
Created April 16, 2018 13:32
Show Gist options
  • Save TheTiger13/a0e94e1630463bac2f2536c63304f7f9 to your computer and use it in GitHub Desktop.
Save TheTiger13/a0e94e1630463bac2f2536c63304f7f9 to your computer and use it in GitHub Desktop.
To hide the lables, landmarks and roads from Google Map iOS
[
{
"featureType": "administrative",
"elementType": "geometry",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "administrative.land_parcel",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "administrative.neighborhood",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"elementType": "labels.text",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road",
"elementType": "labels",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road",
"elementType": "labels.icon",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "transit",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "water",
"elementType": "labels.text",
"stylers": [
{
"visibility": "off"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment