mweeks945

GraphicsLayer not showing up in IE8 after DOJO/ESRI upgrade

Discussion created by mweeks945 on Dec 12, 2013
Latest reply on Dec 16, 2013 by mweeks945
Hi everyone.

I'm working on a project which utilizes the ESRI javascript library for various map-related activities.  We recently decided to update our DOJO and ESRI libraries.  We went from 1.5.0 to 1.8.3 in DOJO and 2.2 to 3.6 of the ESRI Javascript API.  We've had numerous issues that we have worked through to get our maps working again.  One lingering issue that I've been struggling with is that when you draw lines in IE8, they do not show up.  Everything works great in chrome (using SVG) but in IE8 they don't show (using VML).  Some VML will show up such as lines that have been drawn in the past, then are retrieved and displayed.  However it seems anything added straight to the map.graphics layer is invisible. 

There don't seem to be any errors.  For instance in the code below we are drawing a line on a map and computing the distance of that line.   The distance gets calculated correctly and displayed on the map but the line never shows on the map.

        this._measureGraphic = this.map.graphics.add(new esri.Graphic(geometry, new esri.symbol.SimpleLineSymbol()));

Any ideas?

Thanks!

Outcomes