WABDev 2.19
I have a custom widget that I am adding a FeatureLayer from an onClick event and trying to symbolize and add labels. From THIS example it's showing an important step to "showLabels":
map = new Map("map", {
extent: bbox,
showLabels : true //very important that this must be set to true!
});
However, I don't implement that "new Map" and just setting reference to the map source to the WAB itself. All I do is decalare map: null at the top and then access this.map throughout the .js of the widget
How do I set this.map to showLabels: true?
Solved! Go to Solution.
oof.. did I whiff on that one. Thank you!