public class

FeatureCollection

extends Object
java.lang.Object
   ↳ com.esri.core.portal.FeatureCollection

Class Overview

The class represents a feature collections. A feature collection is a representation of one or more feature layers, where each layer contains all information it needs to render on the map and does not rely on a backing map or feature service for layer definition and features.

Summary

Public Methods
List<WebMapSubLayer> getLayers()
Returns a list of WebMapSubLayer objects representing each individual feature layer within this feature collection.
boolean isShowLegend()
Returns true if the legend needs to be shown.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public List<WebMapSubLayer> getLayers ()

Returns a list of WebMapSubLayer objects representing each individual feature layer within this feature collection.

Returns

public boolean isShowLegend ()

Returns true if the legend needs to be shown.

Returns
  • true if the legend needs to be shown.