|
POST
|
Hi @GaryLSheppardJr can you repro in a codepen outside of Angular? On surface this doesn't look like an Angular issue. If not, can you provide a personal github repo or StackBlitz using this sample as your base template=> https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli ?
... View more
03-01-2024
03:54 PM
|
0
|
1
|
1674
|
|
POST
|
Adding on to Sage's comments, this looks like an issue with Express and not related to the ArcGIS JS SDK. Here's a link to their documentation: https://expressjs.com/en/resources/middleware/cors.html. They specify a number of different CORS options that might fix the issue.
... View more
12-22-2023
02:59 PM
|
0
|
1
|
6979
|
|
POST
|
Hi@BryanMc can you reproduce this outside of Vite in a vanilla JS app using the ArcGIS ESM CDN? Also, we'll need a github repo or stackblitz so we can try to reproduce the issue. Reference: https://github.com/Esri/jsapi-resources/blob/main/TROUBLESHOOTING.md
... View more
12-04-2023
04:37 PM
|
0
|
3
|
4531
|
|
POST
|
I have a TODO to clarify these steps on the jsapi-resources repo. Here they are in case you missed something. Note, I verified these steps on Angular 17, since we only test against the latest production version of frameworks. Create src/zone-flags.ts file, and then add this: (window as any).__zone_symbol__UNPATCHED_EVENTS = ['click']; In angular.json, make this adjustment: "polyfills": [
"src/zone-flags",
"zone.js"
], In tsconfig.app.json make this adjustment: "files": [
"src/zone-flags.ts",
"src/main.ts"
],
... View more
12-04-2023
09:16 AM
|
1
|
1
|
2597
|
|
POST
|
This appears to be related to a known issue with Calcite: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli#known-issues. Try disabling the zone.js monkey patching for click events. Here's a diff that shows what you need to do https://github.com/Esri/jsapi-resources/issues/481#issuecomment-1687048980.
... View more
12-01-2023
10:48 AM
|
1
|
3
|
2626
|
|
POST
|
Thanks for reporting, I am able to repro on 4.28 and 4.29-next. We'll take a closer look.
... View more
12-01-2023
08:55 AM
|
1
|
4
|
2633
|
|
POST
|
@Wittawatwe fixed the Compass widget's icon property, and it can now be overridden as expected. The fix is available on the 'next' build, if you want to try it out. This pattern is now valid: const compassWidget = new Compass({
view: view,
icon: "arrow-up" // Calcite icon
});
... View more
11-30-2023
08:23 AM
|
0
|
1
|
5950
|
|
POST
|
Hi @Wittawat thanks for reporting, I've opened an issue for us to take a closer look. As @Justin_Greco mentions, the Compass widget does take into account spatial references. It's different from the Track and Locate widgets because it has two default icons, one for Web Mercator/WGS 84 (compass needle) and one for all other spatial references (arrow).
... View more
11-20-2023
11:13 AM
|
0
|
1
|
6013
|
|
POST
|
Ah okay, I clearly didn't look deep enough. Yep, that ignore pattern isn't working correctly. This isn't a problem with "@arcgis/core". The error "Cannot use import statement outside a module" is a well known JavaScript configuration issue. I changed this in your app and it worked: "transformIgnorePatterns": [
"node_modules/(?!(@angular|@arcgis|@esri|@stencil|@popperjs)/)"
],
... View more
11-16-2023
03:20 PM
|
1
|
0
|
3198
|
|
POST
|
It's been a while since I used Jest with Angular and no guarantee that it will work, but you may need to do something like this in your Jest config: "transformIgnorePatterns": [ "node_modules/(?!(@angular|@arcgis|@esri|@stencil/)" ], And, you might also need: https://www.npmjs.com/package/jest-preset-angular.
... View more
11-16-2023
01:05 PM
|
0
|
0
|
3213
|
|
POST
|
Hi @hectorsalamanca you might try using esriRequest instead, it uses native fetch: https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#esriRequest. Here's a working example that uses the pattern: https://github.com/Esri/jsapi-resources/blob/main/esm-samples/jsapi-node/src/request.mjs.
... View more
11-15-2023
08:33 AM
|
0
|
0
|
1488
|
|
POST
|
Hi @mbussey, that's correct - if you install 4.23.7, then it will include watchUtils.
... View more
11-14-2023
08:08 AM
|
0
|
0
|
1139
|
|
POST
|
@JonathanTiuI I verified in Charles while using Chrome that the SDK's wasm requests are being correctly cached. Chrome 119 dev tools appear to be incorrectly reporting cached file requests as HTTP 200s. Here's a screenshot: Also, the wasm scripts are being loaded correctly (synchronously). This is the pattern defined by the WorkerGlobalScope of the browser's Web Workers API,. More information is available on MDN here: https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts. As you may know, when stalls are reported in the network tab of the dev console, they can be the result of many different factors. Taking that into account, I didn't see anything unusual after multiple tests. We will continue to investigate the size of the workers.
... View more
11-13-2023
01:23 PM
|
1
|
3
|
3292
|
|
POST
|
@JonathanTiu with regards to the increased init.js request times, thanks for the information. That might be related to a size increase in the worker between 4.27 and 4.28. I can also repro dev tools reporting the init.js requests being stalled when caching is enabled. We need to do some research. I'll open an issue pending some initial investigation. It's not clear what's actually happening versus what might be misreported in dev tools, e.g. 200 vs 304 status response codes.
... View more
11-07-2023
09:49 AM
|
1
|
5
|
3347
|
|
POST
|
Hi @JonathanTiu, you should only see the first request to https://js.arcgis.com/4.28/esri/core/workers/init.js, depending on how you've configured Charles. You shouldn't see any other subsequent requests to the same modules, e.g. init.js. If the browser is caching correctly, there will only be that one request, confirming that browser caching is working correctly. Did that make more sense?
... View more
11-07-2023
08:02 AM
|
0
|
0
|
3351
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 1 | 03-26-2026 03:12 PM | |
| 2 | 02-21-2026 10:23 AM | |
| 2 | 08-01-2025 06:20 AM | |
| 1 | 05-27-2025 12:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|