Comments (12)
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.
Thanks! I should've caught that one. I'm going to merge this all now too.
from mmgis.
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.
Separate, but I'm also seeing this error:
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:
from mmgis.
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.
@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.
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.
@khalidadil I've addressed the remaining issues too -- please give it another try. Thanks!
from mmgis.
@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.
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.
@khalidadil Just pushed another change to address the flickering. Could you give it try again? Thanks!
from mmgis.
@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:
I think the error is happening here in Map_.js:
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)
- [New Feature]: Add parametrization for python binary called
- [New Feature]: MMGIS Python module for Jupyter Notebooks
- [New Feature]: Provide Jupyter Notebook code snippet from feature search
- [New Feature]: Support for flight campaigns
- [New Feature]: Consistent text alignment in Identifier Tool readouts
- [New Feature]: Apply scale factor to Identifier Tool source data readouts
- [New Feature]: Viewer - PDFs
- [Bug]: HTML renders in the Info tool Feature at top
- [New Feature]: Separate layer variables for FeatureID, mouseover, and onClick
- [New Feature]: A quick way to produce colormaps for many tiled layers
- [Bug]: Search not working with geodatasets
- [Bug]: first search layer turns on automatically
- [Bug]: Filtering a geodataset still shows all features
- [Bug]: Opening Settings on a Layer turns that layer on
- [Bug]: Deeplink to selected point or polygon fails HOT 1
- [Bug]: RawVariables Info section does not work in dynamicExtent is true
- [New Feature]: mmgisAPI.getActiveTools()
- [Bug]: Draw Tool - Point feature Symbols don't change from circle
- [New Feature]: Support icon library for vector layer shape field
- [New Feature]: Next/Previous Feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmgis.