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;
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.