Hello,
I am using @arcgis/core for my react application but I am unable to find the root cause of error. Usually it's working fine but some time I am getting the following error in my console.
Can anyone guide my why some time this error is generated?
error
@ReneRubalcava
I have created a new repository and simplified the code. Now the login screen will not appear. Please note that there are two files with the name of Realtime.js and Tracking.js. These two components receive data from socket server and socket server is hosted on private IP. That is why I have disabled it. Please look at the code of Realtime. As socket clients receive data, I am deleting old record and adding a new one to Geojson layer. If there is a need for improvement in the code of Realtime, please let me know.
I am very grateful to you.
Repository: https://github.com/kawish14/Arcgis-React-v1
Waiting for your kind response.
Can you simplify it down, this app has a lot going on and I can't get past the login screen when the app starts. I'm going to guess there is an issue around when the MapView is added to the page and when the map and layers are ready to be drawn.
Have you found, what is the issue?
Have you resolved it ?
Hi @ReneRubalcava ,
following is the git repository.
https://github.com/kawish14/Arcgis-React
I see a similar error after modifying geojson features in my layer and switching from mapView to appView:
react_devtools_backend.js:2540 [esri.views.3d.layers.GeoJSONLayerView3D] #resolve() Failed to resolve layer view (layer title: 'GeoJSON', id: '17d25552b84-layer-4') TypeError: s.equals is not a functionat s (projectExtentUtils.js:5)at FeatureLikeLayerView3D.js:5
Can't tell with this little info, can you provide a repro to take a closer look.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.