|
POST
|
Thanks for Stackblitz. I tried a few things and wasn't able to repro the prod build issue. Since it does runs locally, you'll need to dig deeper. Here are some recommendations. - Run and compare 'npm list' on both dev and prod. Make sure both builds have the exact same dependency versions. A small difference in versions could be the cause of the problem, of course. - Run a 'diff' against the main bundle files from both dev and prod. I understand some variable names may change, but try to decipher if there are substantive differences. - Double check that the prod build is using the same bundler configurations.
... View more
09-25-2023
01:01 PM
|
0
|
0
|
1096
|
|
POST
|
@FlockSafety can you provide a simple repro sample? e.g. github, stackblitz, codesandbox. That error looks like it might be generated by webpack. However, you might also give it a try using our React/Vite sample to create a repro: https://stackblitz.com/github/Esri/jsapi-resources/tree/main/esm-samples/jsapi-react?file=README.md.
... View more
09-21-2023
10:11 AM
|
0
|
0
|
1121
|
|
POST
|
@TYoung have you tried getting the API key to work in a vanilla JavaScript app yet? For example, you can also use the ESM CDN for testing purposes: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-esm-cdn.
... View more
09-07-2023
01:24 PM
|
0
|
1
|
682
|
|
POST
|
Yes, you seem to be on the right right track for integrating the CustomContent Class: https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-CustomContent.html. The CustomContent.creator function can be used to return an HTMLElement. In your case this will be an Angular component. You'll need to pay attention to data binding and component life-cycle. Experiment and see how it goes. Please post your findings here so others can learn, or others may have already gone down this path and respond back.
... View more
08-18-2023
11:52 AM
|
0
|
2
|
1849
|
|
POST
|
Hi @ForrestLin we recommend contacting your Esri representative if you have questions about migrating from the retired resource-proxy to another architecture. They can help bring in technical resources to evaluate your configuration, understand your scalability and security requirements, and make recommendations.
... View more
08-18-2023
11:35 AM
|
1
|
0
|
703
|
|
POST
|
Hi @ForrestLin there is not an Angular sample. However, the conceptual doc's Introduction spells out how to do it in any framework: https://developers.arcgis.com/javascript/latest/custom-ui/#introduction.
... View more
08-16-2023
04:05 PM
|
0
|
5
|
1888
|
|
POST
|
Hi @DavidShearan the Locate widget uses the native JavaScript Geolocation API. Most issues you run into will be related to your browser capabilities when using that API. Give this test app a try and let us know if there are any errors in the browser's developer console. You can change the CSS and SDK version to 4.18: https://codepen.io/andygup/pen/jOQjqOo?editors=1100. Here's an example error:
... View more
08-10-2023
03:37 PM
|
1
|
0
|
1379
|
|
IDEA
|
Hi John, I think you meant to put this under "Questions" and not "Ideas", is that correct? Here is the link for developer questions: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bd-p/arcgis-api-for-javascript-questions.
... View more
08-10-2023
11:31 AM
|
0
|
0
|
763
|
|
POST
|
Oops, also forgot to include our basic Angular CLI sample: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli.
... View more
08-07-2023
02:17 PM
|
1
|
0
|
1150
|
|
POST
|
We don't offer an Angular component example, but there should be enough information for you to build one. The FeatureTable only needs a Feature Service, so it can already be used independent of a map. SDK guide topic - Custom UI basics Basic Feature Table sample - Vanilla JavaScript + AMD (no framework) React/Vite custom UI component sample
... View more
08-07-2023
02:14 PM
|
1
|
1
|
1150
|
|
POST
|
Hi @HHAO here's documentation with information and instructions on how to workaround that transpilation error: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/webpack#known-issues. Version 4.24 was the first version of the SDK to use ES2020, and that allowed us to use new JavaScript features that create parsing errors in older versions of Webpack.
... View more
08-03-2023
07:28 AM
|
0
|
0
|
1783
|
|
POST
|
Hi @NikMartin this isn't an issue with the ArcGIS JS SDK. It's a problem with the React component coding, it looks like the component (as an HTMLElement) has not been imported into the app correctly. Here is a conceptual example: https://developers.arcgis.com/javascript/latest/custom-ui/#import-the-component-into-your-application. Without a reproducible sample via a github repo or Stackblitz we can't tell for certain. You'll need to provide a link to one if you are still stuck. Also note, React recommends not using Class components: https://react.dev/reference/react/Component. They recommend migrating to functions, which is the pattern we demonstrate in the jsapi-custom-ui sample.
... View more
08-01-2023
05:55 PM
|
0
|
1
|
2633
|
|
POST
|
@Thomas_Z2please provide a simple, focused sample application that reproduces the error. We recommend using vanilla JS (e.g. codepen demoing the webmap), stackblitz or github repo. For example, here is an Angular example that provides a good starting point: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli.
... View more
07-26-2023
10:51 AM
|
0
|
1
|
2101
|
|
POST
|
Hi @Vara_PrasadM_S that is a common error and it means your app or an intermediary app, such as a proxy, is modifying an HTTP header field. This isn't an issue with the ArcGIS JS SDK. You'll need to examine your network requests, and there are plenty of resource on the web providing information on how to narrow down what's causing the problem and fix it.
... View more
07-05-2023
01:36 PM
|
0
|
0
|
1795
|
|
POST
|
Hi@daltvr are you saying you downgraded to ArcGIS Maps SDK for JavaScript version 4.20.2, and then things worked, but they break at version 4.21.0? The error about 'expected maximum size' is odd. This issues you are having might be related to the Content Security Policy settings, especially if they are following 'strict' guidelines. See this doc for more info: https://developers.arcgis.com/javascript/latest/faq/#does-the-arcgis-maps-sdk-for-javascript-support-all-content-security-policy-csp-directives. Can you also confirm your version of Capacitor and Android?
... View more
06-23-2023
01:37 PM
|
0
|
1
|
1734
|
| 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 |
12-05-2025
07:24 AM
|