I am attempting to add a TextSymbol to a map in Web AppBuilder; however, the text does not display on the map. When I inspect the <div> created for the text graphics layer, is shows 0 x 0. Additionally, when I inspect the this._textLayer in Chrome, it does not have anything listed under its graphics attribute.
Any help would be greatly appreciated!
define(['dojo/_base/declare',
'dijit/_WidgetsInTemplateMixin',
'esri/graphic',
'esri/Color',
'esri/geometry/Point',
'esri/layers/GraphicsLayer',
'esri.symbols/TextSymbol',
'esri/symbols/Font'
],
function(declare, _WidgetInTemplateMixin, Graphic, Color, Point,
GraphicsLayer, TextSymbol, Font) {
var clazz = declare([BaseWidget, _WidgetsInTemplateMixin], {
baseClass: 'please-help-solve',
_textGeometry