Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive flickering of lines when editing shapes in WorldWind #234

Closed
jaybarra opened this issue Apr 12, 2017 · 4 comments
Closed

Excessive flickering of lines when editing shapes in WorldWind #234

jaybarra opened this issue Apr 12, 2017 · 4 comments

Comments

@jaybarra
Copy link
Contributor

jaybarra commented Apr 12, 2017

When editing points in WorldWind the lines that are drawn flicker a lot.

Use the following script and edit the shape by moving the control points

var counterattack = new emp3.api.MilStdSymbol({
  symbolCode: "GFTPKF--------X",
  positions: [
    {latitude: 20, longitude: 50}, // Tip of the arrow
    {latitude: 20, longitude: 49}, // Back of the arrow
    {latitude: 20.1, longitude: 49.8} // Shape of the arrow
  ]
});
this.props.addFeature(counterattack);

var overlay = new emp3.api.Overlay();
this.props.addOverlay(overlay);

map0.addOverlay({
  overlay: overlay,
  onSuccess: function() {
    overlay.addFeature({
      feature: counterattack,
      onSuccess: function() {
        map0.zoomTo({
          overlay: overlay
        });
        map0.editFeature({
          feature: counterattack
        });
      }
    });
  }
});
@alberto-acevedo
Copy link
Contributor

alberto-acevedo commented Apr 19, 2017

Test case:

Use Worldwind. use branch 234

The fix reduces the flickering. test by comparing the flickering in the dev branch against this branch. the test is a success if the flickering in this branch is reduced.

@mubinakhan
Copy link

Still flickering while editing

@mubinakhan
Copy link

Reintegrate

@alberto-acevedo
Copy link
Contributor

Already merged into the dev branch. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants