How to use the @mapbox/mapbox-gl-style-spec.latest.layer function in @mapbox/mapbox-gl-style-spec

To help you get started, we’ve selected a few @mapbox/mapbox-gl-style-spec examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github maputnik / editor / src / components / filter / FilterEditor.jsx View on Github external
/>
      
    })

    //TODO: Implement support for nested filter
    if(hasNestedCombiningFilter(filter)) {
      return <div>
        Nested filters are not supported.
      </div>
    }

    return <div>
      <div data-wd-key="layer-filter">
        
        
      </div>
      {editorBlocks}
      <div>
        <button data-wd-key="layer-filter-button">
          Add filter
        </button>
      </div></div>