Select to view content in your preferred language

How to draw a circle inside a polygon feature.

396
1
05-10-2011 07:01 AM
MuralidharMoka
Emerging Contributor
Hi .

I have a feature layer which contains polygon features. I have to draw / generate a pivot/circle, inside the polygon, when the user clicks inside the polygon.

I have seen the offset example in Utilities section on the ESRI Silverlight samples site (link below)

http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Offset

It is exactly like this, but I want to generate a circle instead. The circle need not touch all sides.

Pls let me know if there is an example like this.

(This is bascially for drawing circular fields)

Muralidhar Moka
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Have you looked at this sample? http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint Maybe instead of using Map.MouseClick, you can use FeatureLayer.MouseLeftButtonDown event, this only fires when your mouse touches a graphic in that layer.
0 Kudos