Coder Social home page Coder Social logo

Thematic Maps about cmv-app HOT 5 OPEN

wmbeers avatar wmbeers commented on August 11, 2024
Thematic Maps

from cmv-app.

Comments (5)

wmbeers avatar wmbeers commented on August 11, 2024

Feedback from 10/21/2020 meeting:

  • Possibly integrate thematic maps into Search
  • Suggestion: Add a ‘Search Thematic Maps’ in Saved Maps section to save space and reduce the list of maps

from cmv-app.

wmbeers avatar wmbeers commented on August 11, 2024

Lex reports map viewer ignores SORT_ORDER of T_SAVED_MAP_LAYER. I've confirmed the DWR request to get the layers is returning them in the right order, but then at some point along the line that ordering gets lost. I strongly suspect it's just the nature of async calls I and CMV are making before the last bit where the layer is actually in the map.

Worst case just re-order when all load promises are complete?

from cmv-app.

wmbeers avatar wmbeers commented on August 11, 2024

at some point along the line that ordering gets lost. I strongly suspect it's just the nature of async calls...

Yes, we get as far as _loadSavedMapLayers and we still have the sort order. It calls addLayer, which is an async call, through _onLayerLoad (callback from "load" event handler on the layer). That alone is enough to scramble the order, because a slow one early in the list could take longer to load, pushing to later in the list. To make it worse, we have to then make a call to the server via esriRequest. I think re-sorting at the end is the only viable option, as everything else would be a nightmare of chained calls.

from cmv-app.

wmbeers avatar wmbeers commented on August 11, 2024

I think re-sorting at the end is the only viable option, as everything else would be a nightmare of chained calls.

It's not so easy to re-sort. See _moveUp to see what's involved in just moving one layer one spot.

Test with switching from map.addLayer to map.addLayers.

from cmv-app.

wmbeers avatar wmbeers commented on August 11, 2024

Demonstrated UI improvement to dev team. Feedback: good for WATERSS, but we're going to set up others based on HCMs (I'll work with Eric on this) and will need a hierarchical structure.

from cmv-app.

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.