POST
|
@DavidWiltontry building again with 4.33@rc. The issue should be resolved. 4.33 will be released in the next 30 days or so.
... View more
2 weeks ago
|
0
|
1
|
182
|
POST
|
@DavidWilton interesting, I'm not sure why those two modules are being loaded. I'll refer this issue to the web components devs and we'll take a look. Thanks for reporting.
... View more
2 weeks ago
|
0
|
2
|
188
|
POST
|
We've experimented with comlink and Vite/rollup. We'll have a sample app for that when 4.33 releases in the next 30 days or so. You might give it a try with Angular and let us know: https://github.com/GoogleChromeLabs/comlink.
... View more
2 weeks ago
|
0
|
1
|
158
|
POST
|
@MichaelWen_Timmons typically 404 errors indicate something is not configured correctly. Verify the assets were actually copied: https://developers.arcgis.com/javascript/latest/get-started-npm/#local-assets. Please provide a minimal reproduction sample. Here's our troubleshooting guide for future reference.
... View more
04-23-2025
07:09 AM
|
1
|
0
|
125
|
POST
|
Just set it once per local project. Here is more info: https://developers.arcgis.com/javascript/latest/get-started-npm/#local-assets. Remember to re-copy the assets every time you do a production build.
... View more
04-23-2025
06:56 AM
|
1
|
1
|
158
|
POST
|
Please provide a minimal repro sample, there's more info on that here: https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application. One suggestion is to first build the custom layer in JavaScript, and then migrate your code to TypeScript. Did you try adding a load() method. There are several samples to use for guidance: https://developers.arcgis.com/javascript/latest/sample-code/layers-custom-tilelayer/ , https://developers.arcgis.com/javascript/latest/sample-code/layers-custom-blendlayer/ and https://developers.arcgis.com/javascript/latest/sample-code/layers-custom-elevation-exaggerated/. > I don't suppose a dojo-less typescript version is on the cards, is it? There hasn't been any dojo in the 4.x API in quite a while, and it was removed from the CDN in version 4.25.
... View more
04-08-2025
09:05 AM
|
1
|
1
|
360
|
POST
|
@bearingwestlooks like I never clarified my answer from above. If you are using TypeScript with '@arcgis/core', then the error "Property 'createSubclass' does not exist on type 'typeof SomeXYZLayer'" is correct when attempting to use the createSubclass() method. The createSubclass() method only works in JavaScript. We updated the documentation about subclassing in TypeScript here: https://developers.arcgis.com/javascript/latest/implementing-accessor/#create-a-simple-subclass. The correct pattern in TypeScript would look like the following. You might also need to set 'useDefineForClassFields:false' in your tsconfig, depending on your project configuration. import { subclass } from "@arcgis/core/core/accessorSupport/decorators";
import BaseTileLayer from "@arcgis/core/layers/BaseTileLayer.js";
@subclass("custom.MyTileLayer")
export class MyTileLayer extends BaseTileLayer {
// TODO
}
... View more
04-07-2025
03:15 PM
|
1
|
3
|
397
|
POST
|
@FC_Basson, thanks for the heads-up. I'll open an issue to get that added at 4.33. I'm not sure why the property didn't get exposed in the component.
... View more
03-14-2025
08:28 AM
|
2
|
0
|
211
|
POST
|
Good catch on the wording, I'll blend your suggestions in. We agree that some of the wording could use "fine tuning". The first phase was to get all 60+ new operators into the API, now we are in the enhancement phase.
... View more
02-28-2025
09:24 AM
|
1
|
0
|
494
|
POST
|
Hi @JonathanDawe_BAS thanks for the feedback. Yes, the correct approach is to use the densifyOperator to remove curves from the output geometries at version 4.32+. There's also a code snippet in the densifyOperator API reference: // Returns a polyline where all curve segments have been densified.
if (polyline.curvePaths) {
const densified = densifyOperator.execute(polyline, 0, { maxAngleInDegrees: 1 });
} We'll add more clarification to the minimumBoundingCircleOperator documentation that it returns a polygon with curves, even when using input geometries that don't have curves.
... View more
02-27-2025
11:09 AM
|
1
|
2
|
526
|
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
|
292
|
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
|
788
|
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
|
164
|
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
|
1128
|
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
|
828
|
Title | Kudos | Posted |
---|---|---|
1 | 04-23-2025 06:56 AM | |
1 | 04-23-2025 07:09 AM | |
1 | 04-08-2025 09:05 AM | |
1 | 04-07-2025 03:15 PM | |
1 | 02-28-2025 09:24 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|