wampie

Need help selecting and moving a single feature

Discussion created by wampie on May 22, 2012
Latest reply on Nov 28, 2012 by mark_horsell
Hey,

After i have created a new feature with

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) {
      }
     });


Next I want to select this feature and move to new point. How should i do that? A code snippet would help me alot, since samples dont seem to cover this.

Outcomes