AnsweredAssumed Answered


Question asked by timw1984dev on Apr 30, 2014
Latest reply on Apr 30, 2014 by timw1984dev
Hey everybody,

Is there a way to turn of the infoTemplate property of a FeatureLayer via a button?

      var cities = new FeatureLayer(           "", {           mode: FeatureLayer.MODE_ONDEMAND,           infoTemplate:templateCity,           outFields: ["*"]       });

On start when I click on the city layer I want the popup to work, but when I push a button the popup won't work. How can I manipulate the infoTemplate property?