|
POST
|
@FranAcuñaParraI took a quick look at the repo, thanks. Since, there's nothing obvious within the map component, this is most likely an issue with CSS inheritance and not an issue with the ArcGIS JS API. My guess is you'll need to do some Angular component CSS debugging in the developer tools and see what's being inherited and what's being overridden. Have you tried setting the @arcgis/core CSS in the "Parent" component? There aren't any rules about style sheet extensions. And, there shouldn't be any conflicts with @arcgis/core/assets and Angular, however if you do get an error we'd like to know about it.
... View more
03-28-2022
04:00 PM
|
0
|
1
|
4041
|
|
POST
|
The behavior you are describing about the map panning itself is expected if the CSS isn't loaded or didn't load correctly due to a component life-cycle issue. If you comment out the main.css then then map won't work correctly. With regards to the version mismatch warnings, those will be resolved in a few days. They are showing up temporarily because we are in the process of releasing patches for 4.23, which just came out last week: https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-arcgis-api-for-javascript-4-23/
... View more
03-28-2022
12:31 PM
|
0
|
3
|
4052
|
|
POST
|
@RichardReinickeit depends on where you copy the assets to within the project. Here's some doc on it that might help get you pointed in the right direction: https://developers.arcgis.com/javascript/latest/es-modules/#managing-assets-locally If you are still stuck, create a simple github repo and send us a link and we'll take a look.
... View more
03-28-2022
09:15 AM
|
0
|
0
|
1109
|
|
POST
|
HI @FranAcuñaParra can you provide a simple example that reproduces your issue in github, codesandbox or stackblitz?
... View more
03-28-2022
09:06 AM
|
0
|
1
|
4070
|
|
POST
|
Hi @RichardReinicke are you putting together a package for public usage, or for internal-use only? The Angular docs provide guidelines for shipping asset files with a library, in case you hadn't had a chance to review them: https://angular.io/guide/creating-libraries#managing-assets-in-a-library.
... View more
03-28-2022
08:57 AM
|
0
|
2
|
1538
|
|
POST
|
As @JohnGrayson suggested below, try using the JS APIs geodesicUtils.pointDistance(): https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-geodesicUtils.html#pointFromDistance
... View more
03-24-2022
07:47 AM
|
0
|
1
|
3865
|
|
POST
|
Hi @lawsonkendall can you provide a github repo example? I'm not 100% certain I understand the architecture. On the surface the implementation sounds like its unsupported because its intermixing Angular component life-cycle with the ArcGIS widget life-cycle. > If I can't connect an existing Directions widget (containing already-retrieved route info) to a new view div This isn't possible. All of the APIs out-of-the-box widgets have private undocumented dependencies on the MapView (or SceneView), so a widget can't be disconnected from a View and then reattached. I'm tagging @Noah-Sager for any input he may have related to caching route info and programmatic access.
... View more
03-09-2022
08:08 AM
|
1
|
1
|
1545
|
|
POST
|
Sure @sandrooco I can take a look, it'll probably be next week. Do you have a requirement to keep the assets local? By default they'll pull from CDN, reference: https://developers.arcgis.com/javascript/latest/es-modules/#working-with-assets.
... View more
02-25-2022
09:35 AM
|
0
|
1
|
2739
|
|
POST
|
Hi@sandrooco let us know what version of Angular? Here's an example using Angular 11 with a custom builder and the ArcGIS webpack plugin: https://github.com/andygup/angular-cli-esri-map/tree/arcgis-webpack-angular . The repo is archived and it uses the AMD modules, but hopefully you can reuse some of the builder patterns to get the plugin working.
... View more
02-24-2022
08:05 AM
|
0
|
3
|
2765
|
|
POST
|
Hi @AnantSharma just an additional note, our native Runtime SDKs support full offline workflows,. you can find documentation here: https://developers.arcgis.com/documentation/. With regards to the second scenario, there isn't much documentation for the ArcGIS API for JavaScript specifically, it involves an Enterprise architecture installed on premise. If you need more information on that, I recommend contacting your Esri Sales Rep to make sure you have all the Enterprise pieces in place for your use cases and requirements.
... View more
02-23-2022
11:59 AM
|
0
|
0
|
2406
|
|
POST
|
Hi @NicolasGIS correct, the View files were deprecated at 4.21. We certainly understand the benefits they provided. One of the challenges was the View files rely on internal/private methods. Oftentimes, we unintentionally broke custom widgets when doing internal updates, so that ended up being a brittle approach that was not scalable.
... View more
02-22-2022
08:36 AM
|
0
|
0
|
749
|
|
POST
|
Hi @AnantSharma By offline do you mean the app is designed to run on a device with no access to internet? Or do you mean the app is running on a Local Area Network (LAN) that is sand-boxed off from the public internet? Those are two different architectures. We don't support the first scenario.
... View more
02-22-2022
07:47 AM
|
0
|
0
|
2426
|
|
POST
|
@DanielFrunzaI updated all the dependencies including an update to use jest-preset-angular/presets/defaults-esm: https://thymikee.github.io/jest-preset-angular/docs/guides/esm-support. That got me beyond the crypto error, but then I ran into a tslib bug that's most likely related to this long outstanding issue that seems to have some new momentum towards a fix: https://github.com/microsoft/tslib/pull/171 This is the error that I'm now seeing: SyntaxError: The requested module '../chunks/tslib.es6.js' does not provide an export named '_' I'll take a look again as time permits. In the meantime if you are able to chip away at this, here are some additional resources: * Some basic guidelines for using jest with esm: https://gist.github.com/rstacruz/511f43265de4939f6ca729a3df7b001c * A working example of using the jest esm presets for Angular (no ArcGIS) https://github.com/thymikee/jest-preset-angular/tree/main/examples/example-app-v13.
... View more
02-10-2022
10:43 AM
|
0
|
0
|
2262
|
|
POST
|
Oh interesting. Thanks @DanielFrunza I'll take a look.
... View more
02-08-2022
10:57 AM
|
0
|
1
|
2269
|
|
POST
|
Gotcha, thanks. It's not clear what is causing this issue, there are a ton of usages of crypto within Angular, when I searched for it in node_modules I got 690 results in 198 files including usage in TypeScript and Stencil. I tried some quick internet searches and can see this isn't a unique problem. What's interesting is crypto didn't get installed on my machine when I installed the sample project. Maybe Jest or Nx triggers something that requires it.
... View more
02-02-2022
05:50 PM
|
0
|
4
|
2899
|
| 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
|