[Google Maps] Advanced Google Maps Styling

[Google Maps] Advanced Google Maps Styling

  
Forge Component
(17)
Published on 24 Apr by OutSystems Labs
17 votes
Published on 24 Apr by OutSystems Labs

On my Map i only want to display my markers i think it could be done with these Advanced options:

I have created these JSON with this online Styling Wizard to set the Options of a Map, How can I use these settings on this Google Maps component.

My map now contains to many other POI.

Use styles:


"{
  scrollwheel: false,
  styles:
[
  {
    'elementType': 'labels',
    'stylers': [
      {
        'visibility': 'off'
      }
    ]
  },
  {
    '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': 'road',
    'elementType': 'labels.icon',
    'stylers': [
      {
        'visibility': 'off'
      }
    ]
  },
  {
    'featureType': 'transit',
    'stylers': [
      {
        'visibility': 'off'
      }
    ]
  }
]
}"