AnsweredAssumed Answered

current view of map draw poly line and highlight layers

Question asked by naveen1214 on Apr 5, 2012
Latest reply on Aug 1, 2012 by rscheitlin
Hi All,

I am trying to draw polyline and highligting layers with in current view of map using map.extent as geometry. But it is doing every thing fine but some times out side of rectangle layers are highlighting.

I have drawn rectangle using below code:
var graphic:Graphic = new Graphic();
graphic.geometry = map.extent;
graphic.symbol = sfs;

Does map.extent will works for this scenario are I have to do some thing else?