Explore in the sandboxView live

This sample shows how to access an OGC API Features service using an OGCFeatureLayer. Since this layer type brings the data in as features, you can perform your own rendering, labeling, clustering, etc. See the API Reference for more information on what is supported.

The url and collectionId properties are required when creating a new OGCFeatureLayer.

const sea_ice = new OGCFeatureLayer({
  url: "https://test.cubewerx.com/cubewerx/cubeserv/demo/ogcapi/Foundation/", // url to the OGC service
  collectionId: "seaicea_1m",  // unique id of the collection
  renderer: { ... }