Problem adding Marker in IE

473
0
02-28-2011 12:50 PM
BinGan
by
New Contributor
I am using 1.5 version of the JavaScript API.  Under IE8, simulation IE7 through the debug tool, I am getting "TypeError:'esri.bundle.layers' is null or not an object" message when I tried to add a simple marker to the base map.

After I trace the add method, the first exception occurs at 'esri.layers._GraphicsLayer' class, _drawPath function, of line 'var p = _461.createObject(esri.gfx.Path, path.join(" "))', where esri.gfx.Path is null. 'path.join("")' = "M 452,307 L 460,315 452,323 444,315 X E".

Anyone knows what causes the esri.bundle.layers to be null?
0 Kudos
0 Replies