AnsweredAssumed Answered

I am having issues with the infowindow not showing up on click, despite the graphics having an infotemplate. Not sure if I am doing it incorrectly.

Question asked by dbierbaum on Sep 17, 2014
Latest reply on Sep 17, 2014 by dbierbaum

This is how I instantiate my graphic.

var pt = new esri.geometry.Point(jsonobj[i].longitude, jsonobj[i].latitude, this.map.spatialReference);

                    var sms = new esri.symbol.SimpleMarkerSymbol();

                    var infoTemplate = new esri.InfoTemplate("<b>THIS IS INFO</b>");

                    var graphic = new esri.Graphic(pt, sms, infoTemplate);

                    this.map.graphics.add(graphic);

Outcomes