|
POST
|
I feel this issue might be related to the RemoteClient.js, when I look at this file in windows it has an incorrect date Update: https://github.com/npm/npm/issues/20439 looks like this is caused by an npm "feature", any copy that uses the last modified date is having issues (dojo copy?, aws s3 sync?)
... View more
07-20-2021
12:45 AM
|
0
|
0
|
3190
|
|
POST
|
I'm still not sure what my issue is but this seems to happen when I launch the debugger from vscode, perhaps it is caching the assets from the previous release.
... View more
07-19-2021
10:55 PM
|
0
|
1
|
3191
|
|
POST
|
When using the current release of the arcgis-js-api (4.20.2) and using the local assets (esriConfig.assetsPath = "./assets"😉 the assets do not seem to be up to date, i receive the following message on load: 30cfa4b0-c6b0-4fa5-a5e1-ac799d7f3ee0:1 [esri.core.workers] Version mismatch detected between ArcGIS API for JavaScript and assets: API version: 4.20 [Date: 20210707, Revision: 17f9314e] Assets version: 4.20 [Date: 20210701, Revision: d19b8a11] This appears to manifest in a missing file: message: "Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'assets/esri/core/workers/chunks/4ec871ce4f503ff84927.js' failed to load."
... View more
07-18-2021
06:49 PM
|
1
|
5
|
3239
|
|
POST
|
Thanks Raluca and John, Waiting for loadAll to do anything give me a long wait before anything happens on screen. Is the following a way to avoid this: const map = new WebScene({...});
const view = new SceneView({...}); // map not set
map.when( ()=>{
view.map = map;
});
map.loadAll().then( ()=>{
// Good to do change layer properties now? e.g. listMode, popupEnabled, outFields
view.when( ()=> {
// All good to do anything
});
}) Jethro
... View more
07-15-2021
07:14 PM
|
0
|
1
|
639
|
|
POST
|
Thanks Raluca, The slides data always exist in the data url, they just dont seem to make it though to the slides.visibleLayers, the viewpoint, title and image are always populated. Jethro
... View more
07-14-2021
07:17 PM
|
0
|
0
|
3358
|
|
POST
|
Thanks John. Really, this is the first time I've seen this, every example (https://developers.arcgis.com/javascript/latest/sample-code/intro-sceneview/) I've seen does exactly that. Can you furthur clarify what setup I should be using to make sure everything is ready to use? map = new WebScene({...}) map.when( ()=>{ view = new SceneView({...}) view.when( ()=>{ map.loadAll().then( () => { // Should be good now? }); }); }); is the loadAll called internally? or should I be using map.loadAll.then() instead of map.when(... or Promise.all([map.when(), map.loadAll()]).then(...
... View more
07-14-2021
07:14 PM
|
0
|
2
|
3358
|
|
POST
|
I don't think that is the case unless there is some other promise that i'm meant to be waiting for, I initialise my buttons to load the slides inside the view.when, this is also after map.when I have made a pen that is similar to my setup but am unable to replicte the issue https://codepen.io/leevers/pen/xxdgLBa
... View more
07-13-2021
05:52 PM
|
0
|
8
|
3373
|
|
POST
|
I have still had no luck getting to the cause of this issue 😓 Could this be related to any of the layers timing out on start up? (Australian Internet) Would also like to add that this is using a dojo built deployment
... View more
07-12-2021
10:29 PM
|
0
|
0
|
3377
|
|
POST
|
Hi K, I would suggest using a token in your code, you could use a proxy to call the generateToken rest endpoint on a portal. https://developers.arcgis.com/rest/users-groups-and-items/generate-token.htm You can then use this with the IdentityManager class (https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-IdentityManager.html) IdentityManager.registerToken(authInfo); Regards, Jethro
... View more
07-04-2021
10:39 PM
|
0
|
1
|
2540
|
|
POST
|
Hi All, I have been having issues with the WebScene slides. It seems to be an issue with the visibleLayers properties of the slides not being populated. Sometimes they work fine, other times the visibleLayers property contains no items and hence the slide does not appear to work when using the applyTo function. Regards, Jethro
... View more
07-04-2021
10:32 PM
|
0
|
11
|
4094
|
|
IDEA
|
The terrain layers could be at the bottom of the layer list like in the default sceneviewer or inline and in groups would be useful to allow a group to be toggled on or off. I am currently creating a viewer for a client to view multiple epochs of captured terrain data and they would like to be able to control which one is visble through the layer list eg: At Bottom x January 2021 Imagery x January 2021 Features o February 2021 Imagery o February 2021 Features o March 2021 Imagery o March 2021 Features x January 2021 Terrain o February 2021 Terrain o March 2021 Terrain eg inline x January 2021 Imagery Feature Terrain o February 2021 Imagery Feature Terrain o March 2021 Imagery Feature Terrain
... View more
06-21-2021
12:08 AM
|
1
|
0
|
1072
|
|
POST
|
The .newMeasurement() function was renamed to .start()
... View more
06-15-2021
06:25 PM
|
3
|
0
|
1569
|
|
POST
|
You might be able to use the viewPadding parameter on the SceneView https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#padding
... View more
06-15-2021
06:22 PM
|
0
|
0
|
1219
|
|
POST
|
I added: export _JAVA_OPTIONS=-Xmx2048m to my build script and it seems to be working
... View more
06-06-2021
11:48 PM
|
0
|
0
|
2075
|
|
POST
|
Digging furthur into this issue, the problem seems to be related to the jvm heap size being exceeded when processing dojo.js.uncompressed.js That being said, is there a way to control the jvm stack size from the build scripts or should I be looking at a build environment setting?
... View more
06-06-2021
08:17 PM
|
0
|
0
|
2077
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-15-2022 09:37 PM | |
| 1 | 07-18-2021 06:49 PM | |
| 1 | 06-21-2021 12:08 AM | |
| 3 | 06-15-2021 06:25 PM | |
| 1 | 11-16-2020 10:20 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-18-2023
03:49 AM
|