Select to view content in your preferred language

InfoWindow graphic not showing correctly

851
2
11-29-2012 06:11 AM
IonPadilla
Emerging Contributor
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
0 Kudos
2 Replies
MattO_Hara
Emerging Contributor
From the look of the picture it looks like it is a CSS issue. Are you loading any custom CSS files?
0 Kudos
IonPadilla
Emerging Contributor
Yes I have some custom css, I will check if there are some incompatibilities
0 Kudos