Failed to display lable of feature layer

2110
0
05-05-2014 08:00 AM
zijianzhu
New Contributor
I have feature layer created by feature service, the service contain the laber info, but I do not know how to display the label info in the map. Here is the code of the feature layer.



Drawing Info:
Renderer:
Simple Renderer:
Symbol:
Picture Marker Symbol:

Label:
Description:
Transparency: 0
Labeling Info:
Label Placement: esriServerPointLabelPlacementAboveRight
Label Expression: [NOM]
Use Coded Values: true
Symbol:
Simple Text Symbol:
Color: [0, 0, 0, 255]
Background Color: N/A
Outline Color: N/A
Vertical Alignment: bottom
Horizontal Alignment: center
Right to Left: false
Angle: 0.0
XOffset: 0.0
YOffset: 0.0
Size: 8.0
Font Family: Arial
Font Style: normal
Font Weight: normal
Font Decoration: none
Min. Scale: 5000.0
Max. Scale: 0.0

Has Attachments: false

HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText

Object ID Field: OBJECTID

Global ID Field:

Type ID Field:

Fields:
OBJECTID ( Type: esriFieldTypeOID, Alias: OBJECTID, Editable: false )



I wonder how to display this information without adding an other layer, because I ve seen a similar question, and the answer is that using the feature layer to show the geometry and using the mapservice(some other layer)to show the label info. I wonder if there are any ways to use a single layer to show them in the same time.

Zijian
0 Kudos
0 Replies