首页 > 代码库 > ArcGIS for android添加图层几何体

ArcGIS for android添加图层几何体

 

GraphicLayer lyr;

Map<String,Object> attr = new HashMap<String,Object>();
attr.put(this.objectIdField, oid);
Graphic graphic = new Graphic(selection, currentSymbol,attr,0);
lyr.addGraphic(graphic);

ArcGIS for android添加图层几何体