AnsweredAssumed Answered

javascript 4.6 and labeling FeatureLayer

Question asked by cynthiak on Jan 9, 2018
Latest reply on Nov 6, 2018 by Will.Walker

I am new to javascript, but I am trying to put together a fairly simple application with v4.6.  I have a contour layer that I am adding with new FeatureLayer(), but I am having a hard time getting it to label with elevation.  I have tried using a Map Service hosted on our server, as well as, a hosted Feature Layer on AGOL (where the contours are already labeled in both).  No luck with either.  I have read that you can't label a 2D map, does this mean that it is virtually impossible to label the contours??  Is there any work around?  A label would be so much better than a pop-up.  Thanks for the help.