Giter VIP home page Giter VIP logo

Comments (4)

jasontk19 avatar jasontk19 commented on August 26, 2024

@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?
Screen Shot 2021-08-30 at 12 10 52 PM

from worldview.

jasontk19 avatar jasontk19 commented on August 26, 2024

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.

edplato avatar edplato commented on August 26, 2024

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.

jasontk19 avatar jasontk19 commented on August 26, 2024

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)

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.