Is it possible to add a label layer (feature layer with labels turned on) in API 4.3 for 2D?
James,
See this sample (it uses a mapimagelayer, but the second link shows that FeatureLayer supports the same):
MapImageLayer - label sublayer features | ArcGIS API for JavaScript 4.3
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#labelingInfo
Thanks, Robert - The FeatureLayer labeling appears to not be supported in 2D yet, however, I was able to get labeling working with the MapImageLayer (via an AGS mapp service consisting of JUST the labeled layer with features turned off).
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.