Graphic g = mil.createFeatureWithTemplate(myLoc, mapPoint); l.applyEdits(new Graphic[] { g }, null, null, new CallbackListener<FeatureEditResult[][]>() { public void onError(Throwable e) { } public void onCallback( FeatureEditResult[][] objs) { } });