Comments (8)
@sumitzarkar JS API team is fixing this issue
from crowdsource-manager.
@aparveen - We checked in devExt and we don't see undefiend, and now the app is working as expected.
Please let us know if any action required from our end.
from crowdsource-manager.
- This issue is related to Reporter issue #526
- We have updated the code for CSM and CSR for this ticket. However, we see is some differences in the way how the visibility of the layers is maintained in the webmap when featureservice is added.
- In issue #526 for reporter , we got to know that - visibility is an optional property with an implicit default of true
- Whereas in this case, we are getting undefined value in the layers visibiity flag and undefined in JavaScript means false, the app is considering that the layer visibility for all the layers is false and hence we are not able to see any layers
- We can fix this by changing the code to check the visibility value is false or true, before that it would be helpful if we get AGOL team's input if this expected to add visibility as undefined in webmap
FYI - @aparveen
from crowdsource-manager.
@sumitzarkar thanks so much for looking into this, will reach out to AGOL map viewer team.
from crowdsource-manager.
@sumitzarkar Map viewer team is saying there is not difference in the json between grouped and ungrouped layer. Is there something else going on in our app?
from crowdsource-manager.
We analyzed this in more detail and here are our findings:
- We are using ArcGIS JS API to load the details of each webmap
- For this we are using createmap method from JS API
- In response we get the itemInfo and itemData.
- So, the root cause is here, when we get the data using this method we see 'undefined' value in the visibility property of the operational layer
from crowdsource-manager.
@sumitzarkar JS API team fixed it, the fix is in devext. Could you please see if you still getting undefined.
Test web map: https://sg-em-devext.mapsdevext.arcgis.com/apps/mapviewer/index.html?webmap=f089c1f8545242ccb7bc5aa2742d597e
from crowdsource-manager.
Thanks @sumitzarkar for looking into it.
from crowdsource-manager.
Related Issues (20)
- BUG-000133477 JQuery updates HOT 5
- Provide an option to automatically refresh the table. HOT 13
- Add message for users using deprecated browser HOT 4
- Add 'Short Org Url' messaging
- Manager auto refresh functionality to behave like web map HOT 5
- Update the vulnerable Out-of-date jQuery version 1.11.4 to the latest version HOT 3
- Sorting removed after edit HOT 9
- Multiple record selection after sorting is selecting extra records HOT 3
- Sort order should not reset in CS Manager app when using OBJECTID field for sorting HOT 3
- Crowdsource Manager is not showing any records after the web map is saved in new map viewer HOT 8
- Crowdsource Manager does not show filtering option when the filter is set on new map viewer HOT 26
- LOGGED IN WRONG REPO -Issue with Custom Vector basemap? HOT 2
- Crowdsource manager is not working with new map viewer map after adding a layer. HOT 8
- BUG-000149766 Citizen Problem Manager web app becomes unusable when attempting to add the feature layer from another deployed Citizen Problem Reporter solution HOT 6
- Duplicate domain issue when the multiple domain applied to a field for each different subtype HOT 3
- Reference Layer is not showing in the app HOT 3
- Edit mode appears when multiple points selected HOT 5
- Crowdsource Manager Report could not be submitted HOT 6
- Crowdsource manager is not showing any records after the map was opened in new map viewer HOT 5
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 crowdsource-manager.