You are using a browser that is no longer supported. Please use the latest version of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Edge. For more information please see the System Requirements.

Unsupported browser

You are using a browser that is not supported. JavaScript API works on the latest versions of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Edge. Use one of these browsers and provide your feedback through GeoNet, the Esri Community.

  • {i18n.unsupportedBrowser.chrome}
  • Firefox
  • Safari
  • undefined
Loading...

Note: Support for 3D on mobile devices may vary, view the system requirements for more information.

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: { ... }
});

Sample search results

TitleSample
Loading...