Omega Cancer, First thing is you are posting to the wrong forum. You need to post Flex Viewer (no longer SFV or Sample Flex Viewer) to the Flex Viewer forum.http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-FlexThere is the draw widget in the Flex Viewer that allows for free hand lines and polygons, so I still don't think you are giving enough info for your question. Are you asking more about applying complex cartographic line symbols or about how to draw geometries in code?
Omega Cancer, What you are attempting to do is draw a curve on the graphics sprite that all UIComponents inherit. That is not going to work the way you want it to. In you code you create a new com.esri.ags.Graphic, to actually have that graphic draw in map coordinates you will need to set it's geometry property to some actual com.esri.ags.geometry object like a Polygon. Polygons and Polylines are made up of Rings or Paths which are just point arrays. I don't know of any true curve capability in the AGS Flex API.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.