Git Product home page Git Product logo

Comments (12)

tariqksoliman avatar tariqksoliman commented on August 12, 2024 1

Yes, that reset button was never meant for the composite layers too (though I suppose it could be).

I'll look into the flickering more.

from mmgis.

tariqksoliman avatar tariqksoliman commented on August 12, 2024 1

Thanks! I should've caught that one. I'm going to merge this all now too.

from mmgis.

khalidadil avatar khalidadil commented on August 12, 2024

hi Tariq, I'm noticing the following:

  • keepLastN immediately following an updateVectorLayer no longer works. I've switched to the pattern where the keepLastN value is passed to the updateVectorLayer call instead, and that works.
  • Uncertainty Ellipse state is reset on every layer update (new feature added)
  • Opacity state is reset on every layer update (new feature added)

This video is using the ts-485 branch:
https://github.com/NASA-AMMOS/MMGIS/assets/2343076/519ca5aa-a932-46c0-bfa9-0c230647d291

from mmgis.

khalidadil avatar khalidadil commented on August 12, 2024

Separate, but I'm also seeing this error:
Screenshot 2024-01-26 at 5 20 03 AM

It looks like this is the code, and for some reason it's accessing that layer at a string of "0" instead of an index of 0? I've attempted to capture what I'm seeing in this image:
Screenshot 2024-01-26 at 5 11 36 AM

from mmgis.

khalidadil avatar khalidadil commented on August 12, 2024

Also unrelated (and I can move this elsewhere), sometimes I'm having issues moving drawing features (unsure if related to the error in the previous comment). See the following video using the ts-485 branch:
https://github.com/NASA-AMMOS/MMGIS/assets/2343076/9bdb9758-a7ca-43e1-abd6-95fa47a0652a

from mmgis.

tariqksoliman avatar tariqksoliman commented on August 12, 2024

@khalidadil Thank you for investigating further issues; I'll starting working on them right now.

As for dragging drawn features, that functionality was in an adjacent PR and now in the development branch -- this ts-485 does not have that addition.

from mmgis.

tariqksoliman avatar tariqksoliman commented on August 12, 2024

keepLastN immediately following an updateVectorLayer no longer works. I've switched to the pattern where the keepLastN value is passed to the updateVectorLayer call instead, and that works.

Yes, keepLastN internally calls an update/make layer function that can sometimes race/conflict with updatevectorlayer. The new pattern is preferred now and should be a little more performant.

from mmgis.

tariqksoliman avatar tariqksoliman commented on August 12, 2024

@khalidadil I've addressed the remaining issues too -- please give it another try. Thanks!

from mmgis.

khalidadil avatar khalidadil commented on August 12, 2024

@tariqksoliman Still testing this, but noticing we're still getting flickering of the rover image. I'm not sure what can be done about this:
https://github.com/NASA-AMMOS/MMGIS/assets/2343076/7c30e4d3-3e8b-4985-8e25-1e846117a9e7

from mmgis.

khalidadil avatar khalidadil commented on August 12, 2024

I'm also noticing that clicking the reset icon next to the "Layer Settings" text only resets the Opacity, not the "Composite Layers" settings. Is that the intended behavior?

from mmgis.

tariqksoliman avatar tariqksoliman commented on August 12, 2024

@khalidadil Just pushed another change to address the flickering. Could you give it try again? Thanks!

from mmgis.

khalidadil avatar khalidadil commented on August 12, 2024

@tariqksoliman This is looking great now! I can confirm the 3 layer settings for vector opacity, image overlay opacity, and ellipse toggle work as expected, and I'm not seeing flickering when the rover changes positions on the map. I need to bring this into an environment where I can test the memory issue again, but otherwise things are looking really good!

When clicking on the rover or the historical track features, I am seeing this error:
Screenshot 2024-02-02 at 12 24 40 PM

I think the error is happening here in Map_.js:
Screenshot 2024-02-02 at 12 30 49 PM

There was another error, but it was potentially unrelated. I'll see if I can figure out how to cause it to happen again.

from mmgis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.