public class UGCThemeLayer extends UGCLayer
${services_components_commontypes_UGCThemeLayer_Title}
${services_components_commontypes_UGCThemeLayer_Description}
The following codes shows how to construct a complete theme graph layer object:
// Constructs theme graph layer corresponding to label theme graph UCGThemeLayer themeLayer = new UGCThemeLayer(); ThemeLabel themeLabel = new ThemeLabel(); // Uses the name field as the label expression, the name field must exist in the following data set themeLabel.labelExpression = "name"; // Sets the data set information and it must be a vector data set DatasetVectorInfo datasetInfo = new DatasetVectorInfo(); // Species data reouse as datasourceName datasetInfo.dataSourceName = "datasourceName"; // Species data set name as datasetName datasetInfo.name = "datasetName"; // Data set type, here takes the surface data set as an example datasetInfo.type = DatasetType.REGION; themeLayer.theme = themeLabel; themeLayer.datasetInfo = datasetInfo;
| Modifier and Type | Field and Description |
|---|---|
Theme |
theme
${services_components_commontypes_UGCThemeLayer_attribute_theme_Title}
|
java.util.HashMap<java.lang.Integer,Point2D> |
themeElementPosition
${services_components_commontypes_UGCThemeLayer_attribute_themeElementPosition_Title}
|
datasetInfo, displayFilter, displayOrderBy, fieldValuesDisplayFilter, joinItems, representationField, ugcLayerTypecompleteLineSymbolDisplayed, maxScale, minScale, minVisibleGeometrySize, opaqueRate, symbolScalable, symbolScale| Constructor and Description |
|---|
UGCThemeLayer()
${services_components_commontypes_UGCThemeLayer_constructorByDefault_Title}
|
UGCThemeLayer(UGCThemeLayer ugcThemeLayer)
${services_components_commontypes_UGCThemeLayer_constructorByUGCThemeLayer_Title}
|
| Modifier and Type | Method and Description |
|---|---|
Layer |
copy()
${services_components_commontypes_UGCThemeLayer_method_copy_Title}
|
boolean |
equals(java.lang.Object obj)
Compares whether the specified object equals to the current
UGCThemeLayerobject. |
int |
hashCode()
Gets hash code value of SuperMap theme layer object.
|
doEquals, doHashCode, toStringpublic Theme theme
${services_components_commontypes_UGCThemeLayer_attribute_theme_Title}
${services_components_commontypes_UGCThemeLayer_attribute_theme_Description}
public java.util.HashMap<java.lang.Integer,Point2D> themeElementPosition
${services_components_commontypes_UGCThemeLayer_attribute_themeElementPosition_Title}
${services_components_commontypes_UGCThemeLayer_attribute_themeElementPosition_Description}
public UGCThemeLayer()
${services_components_commontypes_UGCThemeLayer_constructorByDefault_Title}
${services_components_commontypes_UGCThemeLayer_constructorByDefault_Description}
public UGCThemeLayer(UGCThemeLayer ugcThemeLayer)
${services_components_commontypes_UGCThemeLayer_constructorByUGCThemeLayer_Title}
${services_components_commontypes_UGCThemeLayer_constructorByUGCThemeLayer_Description}
ugcThemeLayer - ${services_components_commontypes_UGCThemeLayer_constructorByUGCThemeLayer_param_ugcThemeLayer}public Layer copy()
${services_components_commontypes_UGCThemeLayer_method_copy_Title}
${services_components_commontypes_UGCThemeLayer_method_copy_Description}
public int hashCode()
Gets hash code value of SuperMap theme layer object.
public boolean equals(java.lang.Object obj)
Compares whether the specified object equals to the current UGCThemeLayerobject.
equals in class UGCLayerobj - the object to compare with the current UGCThemeLayer object.