FeatureCollectionLayer.withFeatureCollection constructor

FeatureCollectionLayer.withFeatureCollection(
  1. FeatureCollection featureCollection
)

Creates a new feature collection layer object.

Parameters:

  • featureCollection — The feature collection to initialize this layer with.