Comments (4)
@edplato It looks like the location markers are being added to the map layers array and, since the location marker doesn't have a wv
property, it breaks here. Other map items like event markers/tracks and measurements are not included in this layers array which otherwise only includes Worldview imagery layers. I think the right fix might be to change the way the location marker gets added to the map so it doesn't get picked up along with imagery layers elsewhere in the app which seems like it has the potential to cause other bugs. Any thoughts?
from worldview.
To clarify, other map items are created as "overlays" rather than "layers" and so don't get included in the map layers array. I'm just curious if there is a reason the location marker needs to be a vector layer?
from worldview.
That makes sense. I based it off the OL examples page creating a VectorLayer to add a marker. I'm not sure what limitations if any there are by refactoring it to an overlay vs a layer.
from worldview.
I'm working through that now... it looks like we are making vector layers to render measurements but they aren't being added to the map in the same way so they aren't showing up in the layers array. I'll try to figure it out.
from worldview.
Related Issues (20)
- Possibility to hang the app when adjusting the animation timing HOT 4
- Milky Seas Tour Story HOT 1
- Added M[OY]G21 STD C6.1 layers HOT 2
- Add caveat to NOAA-20/VIIRS CR and TB layer descriptions
- Vector tile preloading issues HOT 3
- Investigate cross-fading tiles on time step HOT 1
- Tour animate function needs updating
- Add GOES-West caveat to description HOT 2
- add L30 to step one of HLS tour story
- Add SSEC VIIRS NOAA-20 Cloud prop HOT 1
- [DEVELOP] If B tab is selected and you exit comparison, map date should match B tab date.
- Update number of imagery layers to over 1000 HOT 2
- update VIIRS/NOAA-20 cloud descriptions for new layout
- Tooltip delay hangs too long over timeline buttons
- Update intro to WV tour story to include "today" button
- Tour step retains custom palette values
- [compare.mobile.init.2]: "B" comparison date is not 7 days before "A" date when coming from a saved URL
- Node: cannot execute binary file HOT 1
- You have a bug in the map view HOT 4
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 worldview.