sandeepgs

Issue with drawing polygon and pins

Discussion created by sandeepgs on Aug 26, 2013
Latest reply on Aug 26, 2013 by DGoyal-esristaff
Hi All,

I am drawing a polygon using a graphic (set of polygon points). It is adding to the mapview properly.

Now I want to add some pins on the border of the polygon. I am creating a pin using one of the polygon points and adding to the
mapview. But strangely, the pin thats been added is not on top of the border of the polygon. But its bit outside a boundary.

I have attached a screenshot to illustrate the same. The red points are the ones which are supposed to be added on top of the polygon border. [ATTACH=CONFIG]26964[/ATTACH] (http://d.pr/i/eOeT)

I am wondering whats going wrong. Please help me out.

Thanks,
Sandeep

Outcomes