Select to view content in your preferred language

RequestShapeAsync for Drawshape LineSegment

3714
2
05-17-2015 01:35 PM
EdwardBlair
Regular Contributor

Hello -

I've found that RequestShapeAsync returns geometries as expected for all DrawShape types.. except for LineSegment.  I'm expecting this to operate like a Polyline except that it returns with a polyline geometry after the user's second mouse click -- resulting in a two point line segment.  But what I seem to get is nothing.  No geometry seems to be created at all.

Any suggestions would be much appreciated.

Thanks,

Ed

0 Kudos
2 Replies
AnttiKajanus1
Deactivated User

When you request LineSegment interaction is bit different from polygons. You need to click, hold and move the cursor to get segment drawn and when you release the click that returns the segment.

EdwardBlair
Regular Contributor

Ahhh!  Yes, I see now.   Thanks much for the clarification!

Ed

0 Kudos