|
POST
|
@shiyanlim thanks for the feedback and sorry about the frustration. Many doc improvements are coming in the 4.32 release, which is tentatively scheduled for later this month. For example, both the components and core API references will be integrated as you expect them to be. There's updated tutorials and more.
... View more
02-14-2025
01:10 PM
|
1
|
0
|
474
|
|
POST
|
@JoeBessettecan you clarify, are these top-level awaits in your custom code? And what version of Safari? It would be great if you can provide a simple repro app/project, otherwise not much troubleshooting we can do.
... View more
01-30-2025
03:56 PM
|
0
|
0
|
1630
|
|
POST
|
Hi @rhughes522 please provide a minimal reproducible application. You can capture the feature record's geometry and manually create a polygon from it in the repro app. Here are some guidelines: https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application.
... View more
01-16-2025
08:44 AM
|
0
|
0
|
313
|
|
POST
|
@JavidYousafand @BillMitchell can someone provide a minimal repro sample where skipLibCheck is true and you still see the errors? The core Angular sample is the best starting point: https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli. Here's our recommendations for creating and sharing the sample: https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application.
... View more
01-09-2025
09:14 AM
|
0
|
1
|
1943
|
|
POST
|
Angular 18+ defaults to using esbuild for production builds. The large number of files is a known issue with Angular, unrelated to the ArcGIS SDK for JavaScript, because of esbuild code splitting. We also document this issue here: https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli#known-issues. In theory, you can still use Webpack with Angular 19, for example: https://www.npmjs.com/package/@angular-builders/custom-webpack. I don't have any experience with that builder, but you might look around. Or maybe another community member with experience can jump in and share their experience. For the best performance, make sure your server is using HTTP/2 (or HTTP/3) and that your browser version(s) are on the SDK's browser support list: https://developers.arcgis.com/javascript/latest/system-requirements/#supported-browsers. Modern browsers are generally quite performant when combined with the latest HTTP protocols. You can see a comparison of the various build tools and various build/performance numbers here: https://github.com/Esri/jsapi-resources/blob/main/core-samples/.metrics/4.31.0.csv.
... View more
01-07-2025
04:19 PM
|
0
|
0
|
1369
|
|
POST
|
@NicolasGIS as you noted, there isn't a 1:1 relationship between the AMD CDN and a local build of the "@arcgis/core" ES modules. Those use two different module systems, so comparing them side-by-side will always result in different performance profiles.
In reviewing the jsapi-custom-worker sample, the network requests and overall performance appear to be working as-designed for "@arcgis/core". I tested the sample locally on my laptop using 4.31, and I didn't see any http request browser stalls. There's definitely a pause when the spatial-join.worker runs, but that's also expected. As I mentioned above, you'll need to use a tool such as Charles debugging proxy to help distinguish between actual http requests and requests are cached by the browser. The chrome developer console tools aren't always telling the full story.
Some things you can do on your end to ensure the best performance when building the SDK locally:
Host your local build on a CDN
If you are hosting the build on your own web server:
Make sure your web server is using HTTP/2
If using HTTP/1 set the “Keep-Alive” header
... View more
12-09-2024
05:22 PM
|
0
|
0
|
222
|
|
POST
|
@SandroDevos in tsconfig.json, try setting skipLibCheck to true.
... View more
12-03-2024
12:45 PM
|
3
|
0
|
2158
|
|
POST
|
@NicolasGIS please provide a minimal reproducible app so that we can analyze the issue. Here are the guidelines: https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application.
... View more
12-03-2024
11:55 AM
|
0
|
0
|
1019
|
|
POST
|
Thanks for letting us know @SandroDevos. We've reproduced the issue and are looking into it.
... View more
12-03-2024
09:56 AM
|
1
|
1
|
2168
|
|
POST
|
@Guy_srb make sure you have copied the assets from the currently installed version of arcgis/core.
The doc provides an example: https://developers.arcgis.com/javascript/latest/get-started-npm/#local-assets
... View more
11-20-2024
08:23 AM
|
0
|
0
|
451
|
|
POST
|
@NicolasGIS my recommendation is to open a tech support ticket. That's typically the best route when you have detailed performance concerns.
Many (most?) of the cache hits that appear to be duplicates are likely related to the APIs web-workers working in parallel. Also, the browser, itself, is making parallel http requests. Oftentimes, what may seem to be sequential activity isn't necessarily so, and you have to look carefully at the network "Timing" section of the Chrome dev tools, or use a more advanced tool like Charles Debugging Proxy. Initial load time is a multi-factorial issue that includes not just the API modules, but also how the app is constructed, the data, the number and types of layers, the type of queries, how the layers are constructed, etc. I hope that helps.
... View more
11-13-2024
09:59 AM
|
0
|
0
|
1085
|
|
POST
|
In case it helps with troubleshooting, the SDK's locate widget uses the native Geolocation API under the hood. So, if you can build a simple app for testing with just the Geolocation API, that functionality would be similar to the widget's.
... View more
11-06-2024
10:14 AM
|
0
|
0
|
1642
|
|
POST
|
@AlagappanA please provide a minimum reproducible app, here are the instructions: https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application. The Angular sample is a great starting place: https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli.
... View more
10-15-2024
04:22 PM
|
0
|
0
|
622
|
|
POST
|
@swuell it sounds like you might be looking for the API's projection engine: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-projection.html#project. This functionality can be run on the client, so no need for a server round-trip.
... View more
10-10-2024
11:21 AM
|
0
|
1
|
694
|
|
POST
|
Hi @aerhart, the continuous scrolling is likely because you are missing the right CSS. We have an open issue to update the doc to include the CSS. Here's a working example, try running this: https://github.com/Esri/jsapi-resources/tree/main/component-samples/map-components/samples/react.
And here's the sample's CSS:
@import 'https://js.arcgis.com/4.30/@arcgis/core/assets/esri/themes/dark/main.css';
#root, html, body, arcgis-map { height: 100vh; width: 100vw; margin: 0; padding: 0; }
... View more
10-10-2024
09:47 AM
|
0
|
1
|
1329
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 08-01-2025 06:20 AM | |
| 1 | 05-27-2025 12:39 PM | |
| 1 | 04-23-2025 06:56 AM | |
| 1 | 04-23-2025 07:09 AM | |
| 1 | 04-08-2025 09:05 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|