AnsweredAssumed Answered

Label are not working in the Map Viewer

Question asked by 020693andy on Aug 9, 2017
Latest reply on Aug 10, 2017 by 020693andy

Hello everyone,

                    I want to display the label in the map viewer for this I turn on labels in map services. I can see the label in the ArcGIS Online of that map services, but I can't see those label in the map viewer. Did I need to add any class or function? Am I need to write the class to visible? I see some sample examples like Labeling features client-side | Guide | ArcGIS API for JavaScript 3.21. But those are not helpful for me. I don't want to set the label name in my script because the client can vary the label field. For info, I'm using ArcGIS basic viewer template that was based on 3.15 API for JS.



Thanks for the help.