public class

FeatureCollection

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

Class Overview

This class represents a feature collection. A feature collection is a representation of one or more feature layers, where each layer contains all the 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
static FeatureCollection fromJson(JsonParser parser)
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 static FeatureCollection fromJson (JsonParser parser)

Parameters
parser JsonParser
Returns
FeatureCollection
Throws
Exception

public List<WebMapSubLayer> getLayers ()

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

Returns
List<WebMapSubLayer> a list of WebMapSubLayer objects

public boolean isShowLegend ()

Returns true if the legend needs to be shown.

Returns
boolean true if the legend needs to be shown