harchet

InfoWindow graphic not showing correctly

Discussion created by harchet on Nov 29, 2012
Latest reply on Nov 29, 2012 by harchet
Hello,

I created an little infoWindow for some features in my map, so it will popUp when clicking on it. The problem is that the window is not shown like a normal window, it has a little gap in between:

[ATTACH=CONFIG]19604[/ATTACH]

Here is my code where I attach the infoTemplate to the features:
       
var infoTemplate = new esri.InfoTemplate();
   infoTemplate.setTitle("${NAME}");
   infoTemplate.setContent("<b>Name </b>${SPAT_NAME}<br/>"
        + "<b>Dose: </b>"+colorSquema[feature.attributes["SPAT_NAME"]]+"<br/>");
        feature.setInfoTemplate(infoTemplate);
 map.graphics.add(feature);


I am getting the features from a query to the map. Any idea?

Thank you so much

Attachments

Outcomes