var arrSavedGraphics:Array = new Array();var objGeom:Object = JSON.decode(objJson.geometry);var poly:Polygon = new Polygon();poly.rings = objGeom.rings;arrSavedGraphics.push(new Graphic(poly, shpSymbol));}myLoadGraphicsLayer.graphicProvider = new ArrayCollection(arrSavedGraphics);where,objJson reporesent the JSON that I posted aboveshpSymbol: <shp:ShpSymbol id="shpSymbol"/>myLoadGraphicsLayer: var myLoadGraphicsLayer:GraphicsLayer = new GraphicsLayer;
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.