Daylight widget does not work properly in version 2.23

127
0
02-07-2023 06:53 AM
MiriEshel1
New Contributor II

Hi, 

We try to use the Daylight widget in a closed environment (not connected to Internet). 

We use local JS API 4.22 and we had to add dojo libraries to it: dojo, dojox, dijit in order to create a 3D application. Anyway we passed this obstacle but we encountered two issues:

1. It uses GeometryService in order to project from utility.arcgisonline.com although in the Portal the local geometry service is defined. I also changed the reference in utils.js from utility.arcgisonline to the local geometry service. It still insists to take the GeometryService from utillity.arcgisonline. Of course it fails since it is a closed environment....

2. Upon opening the Daylight widget, sometimes it gives an error: "undefined:widgets/Daylight/Widget" and sometimes it opens it but does nothing upon changing the slider and the shade does not move.

Has anyone encountered this issue? Any help will be appreciate.

Thanks a lot,

Miri

0 Kudos
0 Replies