|
POST
|
There are known issues with Angular CLI 12.2.x+, they made significant changes to how they do optimization. You'll need to stay at versions 12.0.0 - 12.1.x. So far 13.0.0-next fixes the bug. Reference: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli#known-issues
... View more
09-23-2021
07:17 AM
|
2
|
0
|
1928
|
|
POST
|
@ironmaskitocan you clarify if you are using AMD or ESM? One likely culprit is downleveling of async/await but we don't do that in our ESM build. Also, just to clarify: are you using the Spring/Java Enterprise framework? Just want to make sure we aren't talking about some other Spring. We are trying to figure out why there are babel-like asyncToGenerator calls in the Spring screenshot.
... View more
09-22-2021
09:26 AM
|
0
|
2
|
2817
|
|
POST
|
Hi@ironmaskito since the app works without Spring, it's reasonable to believe that Spring is causing the problem and not the ArcGIS JS API. I was also able to verify the NOAA WMS layer works okay in a vanilla JS app without a CORS browser extension or a proxy. My recommended next step in these situations is for you to compare HTTP headers and payload (attributes + data) between the app that's working and app that is not working. I'm not aware of any other definitive way to figure out how the HTTP requests/response is being affected. As an example, we've seen similar cases where the wrapper framework was triggering pre-flight, and that would cause the HTTP requests to fail.
... View more
09-21-2021
12:52 PM
|
0
|
4
|
2836
|
|
POST
|
Hi Chris, interesting indeed. The only other thing I can think of would be looking into your babel config. Here's what I have https://github.com/andygup/angular-jsapi-jest/blob/main/babel.config.js. Maybe double check what's correct for React.
... View more
09-21-2021
08:15 AM
|
0
|
0
|
6666
|
|
POST
|
I'm guessing you'll need to add a regex check to this line for @esri, following a pattern similar to what I did for @arcgis: https://github.com/andygup/angular-jsapi-jest/blob/main/jest.config.js#L4.
... View more
09-15-2021
11:53 AM
|
0
|
0
|
6727
|
|
POST
|
Hi @craragon77 okay, it's failing on calcite-components, did you add those recently? Those are not part of @arcgis/core. My best guess is you'll need to ignore those as well.
... View more
09-03-2021
07:38 AM
|
0
|
0
|
6773
|
|
POST
|
Okay, that's kind of what I figured, thanks for clarifying. It is odd that there are no 404, or even 504, errors when the app tries to retrieve the assets. One likely possibility is your assetsPath setting, the example above isn't what I would expect to see. Have you tried something like this: esriConfig.assetsPath = "./assets"; If that doesn't work, send us a snippet of how you are copying the assets, such as your npm script, etc.
... View more
09-03-2021
07:31 AM
|
0
|
1
|
3597
|
|
POST
|
Hi Kevin, I'm not sure I understand, we didn't have ES modules (@arcgis/core) at 4.17. Is there a reason why you want to host the assets locally? They'll automatically pull from CDN, here's some additional info: https://developers.arcgis.com/javascript/latest/es-modules/#working-with-assets
... View more
09-02-2021
08:36 AM
|
0
|
1
|
3652
|
|
POST
|
Hi @MichaelOakeson the widget actually uses the browser's geolocation API to get the current position. If there's an accuracy issue it is most likely related to the device and the browser implementation of the geolocation API, accuracy can also be affected by your cellular carrier, your WiFi settings and bluetooth settings. If you are testing and seeing a difference in location between the geolocation API and the widget's reported location then please open a support ticket so we can get a thorough evaluation of the issue.
... View more
09-01-2021
11:20 AM
|
0
|
8
|
4316
|
|
POST
|
Hi @GeoDev you will need an ArcGIS Developers Account and you'll need to use an apiKey for basemaps and services. Here are some helpful links: Sign up for free developers account: https://developers.arcgis.com/sign-up/ and here's the pricing information for pay-as-you-go: https://developers.arcgis.com/pricing/. API Keys overview: https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/ Basemaps that use the apiKey: https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap A basic tutorial showing how to use an API key: https://developers.arcgis.com/javascript/latest/display-a-map/#prerequisites Documentation for FeatureLayer.apiKey: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#apiKey If you expect a high-volume of transactions here are some contact numbers - please do NOT wait until after the fact: https://www.esri.com/en-us/contact#c=us&t=0.
... View more
08-27-2021
11:59 AM
|
3
|
0
|
2470
|
|
POST
|
Sorry for confusion @RyanGatchell1 we are aware of the issue and working on addressing it asap.
... View more
08-27-2021
09:23 AM
|
1
|
1
|
2573
|
|
POST
|
@GeoDev just a heads-up with regards to React Native, that's not currently supported for use with the ArcGIS API for JavaScript.
... View more
08-23-2021
07:12 AM
|
1
|
0
|
1753
|
|
POST
|
@AgrimJain does your project meet the minimum specifications listed here: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli#known-issues?
... View more
08-23-2021
07:02 AM
|
0
|
0
|
1211
|
|
POST
|
It's been a while since I worked with Angular libraries - did you set up a path reference to @arcgis/core in your tsconfig? I remember having some issues with peer dependencies.
... View more
08-20-2021
08:11 AM
|
0
|
0
|
818
|
|
POST
|
@NicoleSulzberger I'm guessing you upgraded to Angular 12.2.x? There is a known issue with production builds in 12.2.x and we recommend staying at 12.1.x until the problem is fixed in Angular 12 or when version 13 is ready. We did some very limited testing with Angular 13.0.0-next and the issue seemed to be resolved. Reference and additional info: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli#known-issues
... View more
08-19-2021
08:24 AM
|
1
|
0
|
6835
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-10-2026 08:29 AM | |
| 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 |
Monday
|