|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.portal.WebMapSubLayer
public class WebMapSubLayer
This class represents a sub-layer of a higher level layer within a
WebMap
. The sub-layer may be an individual layer belonging to an
FeatureCollection
, or a sub-layer of a map service layer.
Method Summary | |
---|---|
FeatureSet |
getFeatureSet()
Returns FeatureSet containing features to be displayed by this
layer. |
String |
getLayerDefinition()
Returns the JSON representation of the layer's properties, which includes drawing information, fields and etc. |
int |
getLayerId()
Returns layer's ID. |
String |
getLayerURL()
Returns URL of the layer's backing service. |
String |
getLegendURL()
Returns legend URL, null if it does not exists. |
String |
getName()
Gets the name. |
String |
getTitle()
Gets the title. |
WebMapPopupInfo |
getWebMapPopupInfo()
Returns PopupInfo object defined for the layer. |
boolean |
isShowLegend()
Returns true if legend needs to be shown. |
void |
setName(String name)
Sets the name. |
void |
setTitle(String title)
Sets the title. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getTitle()
public void setTitle(String title)
title
- the titlepublic String getName()
public void setName(String name)
name
- the namepublic String getLayerDefinition()
public FeatureSet getFeatureSet()
FeatureSet
containing features to be displayed by this
layer. Only applicable if the layer is part of FeatureCollection
public int getLayerId()
public String getLayerURL()
public WebMapPopupInfo getWebMapPopupInfo()
PopupInfo
object defined for the layer.
public boolean isShowLegend()
public String getLegendURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |