6 Replies Latest reply on Aug 1, 2012 9:44 AM by rscheitlin

    current view of map draw poly line and highlight layers

      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?