Activate tags in WebAppBuilder.
I've created a layer with new FeatureLayer. Also turn on the "showLabels: true" labels. It is not shown on the map.
In which WebAppBuilder file are the tags activated?
I re-created a new app and the label is not showing.
They ask me to add the in the MAP object showLabels : true
https://developers.arcgis.com/javascript/3/jssamples/layers_label.html
I am creating a layer by code. According to the documentation, it tells me that I must create the property "showLabels: true" in the object new Map().
I am looking inside the WebAppBuilder code for the new Map() object to add the property "showLabels: true"
Labels are controlled by the web map's definition and are limited to whatever's supported by the "classic" map viewer, if they display there they should display in WAB. IF that doesn't work, you may have a widget that's inhibiting the labels, try making a new app from scratch to see if they appear. If all of that fails I'd take it up with support.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.