thanks for your reply siryae this is the default linevar extent:Extent = new Extent(Number(extArray[0]), Number(extArray[1]), Number(extArray[2]), Number(extArray[3]));
but when i draw a line by using draw widget projectCompleteHandler function is not called. and no result is shownbut when i changed this above line of map manager like thisWhen you say that you set the code to var extent:Extent = new Extent(Number(extArray[0]), Number(extArray[1]), Number(extArray[2]), Number(extArray[3]),new SpatialReference(4326));
then draw widget works. it gives lenth of line but map is not displayed . although i can retrieve all values of map like name of layers etc.spatial reference of my map services is 4326.Shimon31,
I have to admit you have me a little confused here. In the SFV 1.3 this line of code is there by default
var extent:Extent = new Extent(Number(extArray[0]), Number(extArray[1]), Number(extArray[2]), Number(extArray[3]));
and both the map displays and the draw widget works...
When you say that you set the code to var extent:Extent = new Extent(Number(extArray[0]), Number(extArray[1]), Number(extArray[2]), Number(extArray[3]),new SpatialReference(4326));
and the map does not display but the draw widget work, what is the spatial reference of you map services that are in the map? are you using the default OLD basemaps or the newer ones that are in WKID 102100?