Comments (5)
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.
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.
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.
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.
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)
- Attributes table widget should support dynamic layers containing feature layers with definition expressions HOT 2
- Layer Loader widget needs to support tiled map services
- Bug 5979 - Map viewer needs to handle links from outdated GIS analysis results to open layers that are no longer available
- Removing map services containing folders breaks layer control HOT 4
- AOI editor must support requesting new "intersecting" sociocultural data report (SDR)
- Enhancements to support PA in SWEPT: load multiple layers; zoom to SWEPT project
- Identify results of project layers should use standard attribute names and symbology. HOT 1
- Project Editor needs support for direct link to edit a specific project alt HOT 2
- Use EST-hosted jQuery/jQueryUI instead of jQuery.com CDN HOT 2
- Error starting GIS Analysis
- Display layer description in Layer Browser
- AOI Results Screen Enhancement Suggestion
- Bug 6320 - AOI expiration date should be updated when a user edits an expired AOI HOT 2
- Provide clearer feedback on AOI analysis/map generation progress
- Include new fields in Layer Loader Browser and Search Results HOT 2
- Bug 6329 - Provide access to download archived versions of map viewer/analysis layers HOT 1
- Bug 6339 - Support Loading Project Highlight
- Public Site Map Updates HOT 1
- Update link to HardCopyMaps page
- Thematic maps icons should be slightly larger, clickable, with more space between items HOT 1
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 cmv-app.