POST
|
This bug seems to have existed in 4.24 too but not <= 4.23 I have created a code pen with the 2 different versions:- 4,25 https://codepen.io/leevers/pen/BaVOeaa 4.23 https://codepen.io/leevers/pen/gOKdJOV
... View more
11-30-2022
06:41 PM
|
0
|
0
|
632
|
POST
|
Hi @GreteSoosalu The issue is related to the observer point, when I add a watch on the observer:- ObserverWatchHandle = lineOfSightVM.watch("observer", (value) => {
console.log(value.z)
} the value of value.z is always returned as 0 when used over the ground, I believe this should be the z-value at the ground point
... View more
11-30-2022
06:31 PM
|
0
|
0
|
633
|
POST
|
This method no longer works in the latest (4.25) release, the observer value has a value of 0 for z when over ground/terrain (It works fine on mesh or model surfaces)
... View more
11-20-2022
10:39 PM
|
0
|
0
|
639
|
POST
|
I have been using the method outlined in the following example to add an observer offset:- https://community.esri.com/t5/arcgis-api-for-javascript-questions/offset-to-observer-height-with-line-of-sight/m-p/27319/highlight/true#M2359 In the latest 4.25 release, the observer property no longer contains a valid value for z when used over terrain, it only returns the value 0. Thus, when creating an updated observer point based on an offset and the observer value, the new observer point is underground (or 0 + offset) The z-value is correct when over a model or mesh.
... View more
11-20-2022
10:36 PM
|
0
|
5
|
732
|
POST
|
Thanks Rene, The Esri fork of the dojo-util did not work but I had success using the the original. "dojo-util": "^1.17.3"
... View more
11-15-2022
09:37 PM
|
1
|
0
|
403
|
POST
|
I have an application based off the AMD sample (https://github.com/Esri/jsapi-resources/tree/master/4.x/amd) When I upgrade the API to version 4.25 I get a few issues, I have tried to resolve them but further issues arise. remove "esri/views/2d/engine/webgl/fontUtils", from the mapViewDeps include section (it complained about this file missing) change the optimizeOptions language in from ECMASCRIPT_2019 to ECMASCRIPT_2020 (some of the new codebase uses ECMASCRIPT_2020 features, ??) After this I get an exception in the closureCompiler I then tried bumping the version of dojo-util from git+https://github.com/Esri/dojo-util.git#1.16.3-esri to git+https://github.com/Esri/dojo-util.git#1.17.3-esri but the exception is still happening null
Node(OPTCHAIN_CALL): scheduling.js.uncompressed.js:5:1633
define(["exports","./maybe","./nextTick","./PerformanceSampler","./PooledArray","./promiseUtils","./time"],(function(e,n,t,r,o,s,i){"use strict";let a=function(e){this.phases=e,this.paused=!1,this.ticks=-1,this.removed=!1},c=function(){function e(e){this.callback=e,this.isActive=!0}return e.prototype.remove=function(){this.isActive=!1},e}(),l=0,u=0;const m={time:i.Milliseconds(0),deltaTime:i.Milliseconds(0),elapsedFrameTime:i.Milliseconds(0),frameDuration:i.Milliseconds(0)},d=["prepare","preRender","render","postRender","update","finish"],f=[],p=new o;let h=function(){function e(e){this._task=e}var n=e.prototype;return n.remove=function(){this._task.removed=!0},n.pause=function(){this._task.paused=!0},n.resume=function(){this._task.paused=!1},e}();const k={frameTasks:p,willDispatch:!1,clearFrameTasks:M,dispatch:D,executeFrameTasks:b};function w(e){const n=new c(e);return f.push(n),k.willDispatch||(k.willDispatch=!0,t.nextTick(D)),n}function v(e){const n=new a(e);return p.push(n),null==T&&(l=performance.now(),T=requestAnimationFrame(F)),new h(n)}let T=null;function M(e=!1){p.forAll((e=>{e.removed=!0})),e&&g()}function A(e){u=Math.max(0,e)}function F(){const e=performance.now();T=null,T=p.length>0?requestAnimationFrame(F):null,k.executeFrameTasks(e)}function b(e){const n=i.Milliseconds(e-l);l=e;const t=u>0?u:1e3/60,r=Math.max(0,n-t);for(let o=0;o<d.length;o++){const s=performance.now(),a=d[o];p.forAll((s=>{if(s.paused||s.removed)return;0===o&&s.ticks++;s.phases[a]&&(m.time=e,m.deltaTime=0===s.ticks?i.Milliseconds(0):n,m.elapsedFrameTime=i.Milliseconds(performance.now()-e),m.frameDuration=i.Milliseconds(t-r),s.phases[a]?.call(s,m))})),R[o].record(performance.now()-s)}g(),P.record(performance.now()-e)}const x=new o;function g(){p.forAll((e=>{e.removed&&x.push(e)})),p.removeUnorderedMany(x.data,x.length),x.clear()}function D(){for(;f.length;){const e=n.assumeNonNull(f.shift());e.isActive&&e.callback()}k.willDispatch=!1}function y(e=1,n){const r=s.createResolver(),o=()=>{s.isAborted(n)?r.reject(s.createAbortError()):0===e?r():(--e,t.nextTick((()=>o())))};return o(),r.promise}function _(){const e=s.createResolver(),n=v({postRender:()=>{n.remove(),w(e)}});return e.promise}const R=d.map((e=>new r(e))),P=new r("total");e.FrameTaskHandle=h,e.addFrameTask=v,e.debug=k,e.performanceInfo=R,e.performanceTotal=P,e.schedule=w,e.setFrameDuration=A,e.waitAnimationFrame=_,e.waitTicks=y,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
Parent(COMMA): scheduling.js.uncompressed.js:5:1489
define(["exports","./maybe","./nextTick","./PerformanceSampler","./PooledArray","./promiseUtils","./time"],(function(e,n,t,r,o,s,i){"use strict";let a=function(e){this.phases=e,this.paused=!1,this.ticks=-1,this.removed=!1},c=function(){function e(e){this.callback=e,this.isActive=!0}return e.prototype.remove=function(){this.isActive=!1},e}(),l=0,u=0;const m={time:i.Milliseconds(0),deltaTime:i.Milliseconds(0),elapsedFrameTime:i.Milliseconds(0),frameDuration:i.Milliseconds(0)},d=["prepare","preRender","render","postRender","update","finish"],f=[],p=new o;let h=function(){function e(e){this._task=e}var n=e.prototype;return n.remove=function(){this._task.removed=!0},n.pause=function(){this._task.paused=!0},n.resume=function(){this._task.paused=!1},e}();const k={frameTasks:p,willDispatch:!1,clearFrameTasks:M,dispatch:D,executeFrameTasks:b};function w(e){const n=new c(e);return f.push(n),k.willDispatch||(k.willDispatch=!0,t.nextTick(D)),n}function v(e){const n=new a(e);return p.push(n),null==T&&(l=performance.now(),T=requestAnimationFrame(F)),new h(n)}let T=null;function M(e=!1){p.forAll((e=>{e.removed=!0})),e&&g()}function A(e){u=Math.max(0,e)}function F(){const e=performance.now();T=null,T=p.length>0?requestAnimationFrame(F):null,k.executeFrameTasks(e)}function b(e){const n=i.Milliseconds(e-l);l=e;const t=u>0?u:1e3/60,r=Math.max(0,n-t);for(let o=0;o<d.length;o++){const s=performance.now(),a=d[o];p.forAll((s=>{if(s.paused||s.removed)return;0===o&&s.ticks++;s.phases[a]&&(m.time=e,m.deltaTime=0===s.ticks?i.Milliseconds(0):n,m.elapsedFrameTime=i.Milliseconds(performance.now()-e),m.frameDuration=i.Milliseconds(t-r),s.phases[a]?.call(s,m))})),R[o].record(performance.now()-s)}g(),P.record(performance.now()-e)}const x=new o;function g(){p.forAll((e=>{e.removed&&x.push(e)})),p.removeUnorderedMany(x.data,x.length),x.clear()}function D(){for(;f.length;){const e=n.assumeNonNull(f.shift());e.isActive&&e.callback()}k.willDispatch=!1}function y(e=1,n){const r=s.createResolver(),o=()=>{s.isAborted(n)?r.reject(s.createAbortError()):0===e?r():(--e,t.nextTick((()=>o())))};return o(),r.promise}function _(){const e=s.createResolver(),n=v({postRender:()=>{n.remove(),w(e)}});return e.promise}const R=d.map((e=>new r(e))),P=new r("total");e.FrameTaskHandle=h,e.addFrameTask=v,e.debug=k,e.performanceInfo=R,e.performanceTotal=P,e.schedule=w,e.setFrameDuration=A,e.waitAnimationFrame=_,e.waitTicks=y,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
D:\DEV2022\geocirrus\OctonionDojo\dist\esri\core\watchUtils.js:. OPTIMIZER FAILED: JavaException: java.lang.RuntimeException: INTERNAL COMPILER ERROR.
Please report this problem. Will the sample be updated or is there something else I can do to get the latest version to build in AMD? Is there any way to get more verbose messages from the closure compiler?
... View more
11-10-2022
05:36 PM
|
0
|
2
|
464
|
POST
|
It appears this solution is no longer working in the latest release
... View more
09-07-2022
07:31 PM
|
0
|
0
|
341
|
POST
|
This does not change the navigation close to ground. Using underground is a work around at present but it would be nicer to adjust the value controlling the height above terrain
... View more
09-07-2022
07:24 PM
|
0
|
1
|
370
|
POST
|
It would be great if we could navigate closer to the ground, there appears to some limit about 5m above the ground Is there a way to reduce this limit or some other way I can make navigating close to the ground work?
... View more
08-31-2022
08:05 PM
|
0
|
3
|
421
|
POST
|
Here you can see the timezones are almost unreadable
... View more
07-12-2022
07:01 PM
|
0
|
0
|
348
|
POST
|
When using the daylight widget in dark mode the time zone drop down appears very dark I have modifed the Daylight Widget sample so you can see the issue https://codepen.io/leevers/pen/LYdZLQb
... View more
07-10-2022
07:44 PM
|
0
|
2
|
398
|
POST
|
Looks like this has been resolved in the 4.22 release
... View more
12-12-2021
04:24 PM
|
0
|
0
|
608
|
POST
|
I have recently been investigating the use of the ShadowCast widget in an upcoming project. There seems to be an issue when the two extents of the time slider cross, the entire widget stops working. I have tried this in edge and chrome. sunUtils.js:formatted:168 Uncaught RangeError: Invalid array length at Object.z.computeDirectionsOverTime (sunUtils.js:formatted:168) at w.get (ShadowCastViewModel.js:17) at Object.a.runTracked ((index):144) at g.k.getComputed ((index):139) at w._lightDirections ((index):212) at ShadowCastViewModel.js:8 at Object.a.runTracked ((index):144) at d.t [as _notify] ((index):194) at d.h.onCommitted ((index):196) at g.k.onCommitted ((index):142) It looks like a divide by zero error in the sunUtils computeDirectionsOverTime function, caused by a 0 value being passed as the 3rd parameter
... View more
11-28-2021
09:16 PM
|
0
|
1
|
677
|
POST
|
Thanks Andy, I don't usually need to do this but we have a client in a sandboxed environment. I have resolved the issue by using a grunt task to touch the asset files grunt.loadNpmTasks('grunt-touch');
grunt.initConfig({
touch: {
options: {
match: true,
mtime: true
},
target: ['pathto/assets/**/*'],
}
});
grunt.registerTask(['touch']);
... View more
07-20-2021
09:59 PM
|
0
|
0
|
2156
|
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
|