|
POST
|
One suggestion is to get your basic app running in Vue without capacitor: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-vue-cli. That will help identify any non-Capacitor related performance issues. Also be sure to check out the system requirements documentation: https://developers.arcgis.com/javascript/latest/system-requirements/#hardware-requirements.
... View more
06-14-2021
08:19 AM
|
0
|
0
|
1444
|
|
POST
|
Hi @JohnRegan this sounds like a configuration issue. Do you have a basic github repo you can share that reproduces the issue?
... View more
06-14-2021
07:52 AM
|
0
|
1
|
3062
|
|
POST
|
This sounds like a life-cycle issue with the mapping component. If you are using ngOnInit() you might need to try switching to using ngAfterViewInit().
... View more
06-10-2021
08:13 AM
|
0
|
0
|
6831
|
|
POST
|
Hi @JethroLeevers since it is a parse error, one thing is to make sure you have this set: https://github.com/Esri/jsapi-resources/blob/master/4.x/amd/dojo/build.profile.js#L491
... View more
06-03-2021
09:04 AM
|
0
|
1
|
3055
|
|
POST
|
Hi @Wasique can you upgrade the app from 4.2 to 4.19? Version 4.2 was retired in December of last year. Also, calcite-maps is retired. For integration with Angular (latest) we recommend using ES module and you can find an example here: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli. Otherwise, if you can't upgrade and need to stick with AMD modules, then we recommend using the esri-loader library, here's an unmaintained example: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli
... View more
06-02-2021
12:00 PM
|
1
|
3
|
6874
|
|
POST
|
Hi @NilankaD the angular-esri-map project was fully retired in November 2020: https://github.com/Esri/angular-esri-map#angular-esri-map Also, note that Google does not support that version of Angular anymore, currently they only support version 9+: https://angular.io/guide/releases#support-policy-and-schedule. I suggest trying to get the ArcGIS JS API 4.19 functionality working in a non-Angular vanillaJS app and then migrate that code back to your Angular app. We typically only offer samples that work with the latest versions of a particular framework, and where possible we now recommend upgrading from using the APIs AMD modules to using ES modules. Here's a sample using Angular 11 (soon to be upgraded to Angular 12): https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli
... View more
05-20-2021
08:49 AM
|
0
|
0
|
1241
|
|
POST
|
@Jay_Gregory since you mention that the JS API works and axios doesn't, this is most likely an issue with axios adding a header field that is triggering preflight rather than a problem with your ArcGIS Server install. I'm not familiar with axios, but my suggestion is figure out what header field is being added that is causing the problem and remove it. The best way to do that would be to compare the axios request headers with the JS API headers.
... View more
05-07-2021
08:31 AM
|
0
|
0
|
12804
|
|
POST
|
I have a couple questions on the CORS errors. There's nothing in the ArcGIS JS API that should be triggering preflight: Do you know if your secure login system is creating signed URLs? It could be injecting additional header fields into the ArcGIS CDN .json requests. Are you using an interceptor to add a header? I understand the desire to reduce the on-disk size, but depending on what you find, you may have a good case for sticking with local assets.
... View more
05-05-2021
04:19 PM
|
0
|
1
|
6260
|
|
POST
|
Hi @GiovanniVanore1 that error looks like it has something to do with your Angular configuration. I tried your code in our Angular ESM sample and it worked: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli.
... View more
05-05-2021
08:53 AM
|
0
|
0
|
1235
|
|
POST
|
Hi @ShaneBuscher1 I haven't used Angular elements, but with a webpack build you have to include all the output bundle files from the Angular build - main,js is just the entry point. Here's a couple blog posts that talk about the ES modules: https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-api-for-javascript-working-with-frameworks-and-build-tools-just-got-easier-part-2/ and https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/javascript-just-works/
... View more
05-05-2021
07:50 AM
|
1
|
0
|
3847
|
|
POST
|
Yes, I meant using the ArcGIS Online MapViewer. For example, can you load this webmap in your browser? https://jsapi.maps.arcgis.com/apps/mapviewer/index.html?webmap=e691172598f04ea8881cd2a4adaa45ba
... View more
05-03-2021
02:50 PM
|
0
|
7
|
6353
|
|
POST
|
Hi @Anonymous User Do stand-alone webmaps load okay directly in your local browser?
... View more
05-03-2021
02:15 PM
|
0
|
1
|
6364
|
|
POST
|
I took a quick look at the project and was at least able to get it to build. I mainly saw CSS issues. 1. You'll need to remove the import main.css from cchnlmap.components.ts. 2. And, at the top of app.component.css add: @import 'https://js.arcgis.com/4.19/@arcgis/core/assets/esri/themes/light/main.css'; 3. Add "moment" to allowedCommonJsDependencies in angular.json: https://github.com/Esri/jsapi-resources/blob/master/esm-samples/jsapi-angular-cli/angular.json#L22 4. Now app will build without warnings and errors. You still won't see the map, but it's there in the DOM. It's just not getting a height or width setting. I tried forcing it a couple different ways. You'll need to figure out how to pass the styles to the cchnlmap.component template. Here's the CSS that need to be set on the map DIV: https://github.com/Esri/jsapi-resources/blob/master/esm-samples/jsapi-angular-cli/src/app/app.component.css#L2-L13 Hopefully that gets you a bit closer to figuring this out.
... View more
04-28-2021
02:45 PM
|
0
|
1
|
2896
|
|
POST
|
@FentonCheng_-_DIT I'm not sure without seeing the code. Can you provide a github repo with a very simple reproducible case based on the jsapi-resources Angular sample? Since we know that jsapi-resources sample works, it's a good starting point to add your code to it and find out what's breaking.
... View more
04-27-2021
03:08 PM
|
0
|
3
|
2921
|
|
POST
|
@Valgenmap I'm not sure what's going on. This code doesn't look right: <Map>
<MyFeatureLayer />
</Map> There is a working example you can look at here: https://github.com/Esri/nearby-javascript. And just for reference: View code - https://github.com/Esri/nearby-javascript/blob/master/src/components/WebMapView.tsx FeatureLayer - https://github.com/Esri/nearby-javascript/blob/master/src/data/layers.ts#L91
... View more
04-27-2021
07:31 AM
|
0
|
0
|
5563
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 06-04-2026 08:15 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
06-04-2026
08:11 AM
|