paupepui

TextSymbol graphic doesn't draw in IE8

Discussion created by paupepui on Sep 9, 2010
Latest reply on May 31, 2012 by dhollema
Hi,

I made a viewer with JavaScript API 2.0, and I draw Points, Lines, Polylines, etc... with texts.
The problem is that TextSymbol Graphic doesn't draw using IE8, instead in Firefox and Chrome it draws. The code is like this, attached to a button:

var simboloPuntoPrueba = new esri.symbol.TextSymbol("HOLA_MUNDO");
var puntoPrueba = new esri.geometry.Point([726000, 4370000], new esri.SpatialReference({
wkid: 23030
}));
graficoPuntoPrueba = new esri.Graphic(puntoPrueba, simboloPuntoPrueba);
map.graphics.add(graficoPuntoPrueba);

What's the problem?

Pau

Outcomes