Hi Guys
I have a custom basic widget to calculate the lengths of a polygon. The calculations seems to be fine but I cannott get the content to display in the infowindow. The setTitle seems to work fine but as soon as I try to set the content it shows nothing... any ideas?
my code:
define(['dojo/_base/declare', 'jimu/BaseWidget','esri/tasks/IdentifyTask',
'esri/tasks/IdentifyParameters',"esri/tasks/GeometryService", "esri/InfoTemplate"],
function(declare, BaseWidget, IdentifyTask, IdentifyParameters, GeometryService, InfoTemplate) {
//To create a widget, you need to derive from BaseWidget.
return declare([BaseWidget], {
// Custom widget code goes here
baseClass: 'Dimension',
// this property is set by the framework when widget is loaded.