|
POST
|
Hi @ForrestLin, we deprecated the pattern of extending the viewModel for widgets. We now recommend using the JS framework's component capabilities. We don't have an Angular example, but here a React example: https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-custom-ui.
Reference: https://developers.arcgis.com/javascript/latest/custom-ui/#custom-framework-components
... View more
10-09-2024
11:30 AM
|
0
|
1
|
794
|
|
POST
|
We recognize that WebGL context lost warnings can be frustrating. Here's some clarification on how WebGL contexts work within the ArcGIS Maps SDK for JavaScript. Hopefully this information helps you with reducing how often they occur.
Each MapView or SceneView uses one WebGL2 context. Having too many Views in a browser session is one of the most common causes of these warnings. Generally speaking, adding/removing layers and widgets does not increase or decrease the number of contexts used by the Maps SDK. However, it does affect the amount of resources your app uses, such as memory. The amount of available memory is one of the factors browsers use in determining the maximum WebGL context limit.
Please refer to the FAQ on this topic, it contains additional information: https://developers.arcgis.com/javascript/latest/faq/#is-there-a-limit-to-the-number-of-map-and-scene-views-a-user-can-open.
... View more
09-25-2024
10:59 AM
|
0
|
0
|
1359
|
|
POST
|
Here's the KB article with info on the Chromium issue and the versions affected: https://support.esri.com/en-us/knowledge-base/defective-chromium-128-update-and-arcgis-maps-sdk-for-j-000033499
... View more
09-17-2024
08:33 AM
|
0
|
0
|
1145
|
|
POST
|
Hi @RyanMoser, disregard, it sounds like you did contact support.
... View more
09-17-2024
07:45 AM
|
0
|
1
|
1157
|
|
POST
|
The project didn't work, it has configuration issues in Stackblitz and when I tried to run it locally. Also, make sure to include reference to the SDK's CSS. My recommendation is to try adding your functionality to this Angular sample: https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli
... View more
09-13-2024
02:46 PM
|
0
|
0
|
846
|
|
POST
|
Hi @ThomasDale, you'll also need to provide a minimal Angular repro app: https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application.
... View more
09-13-2024
10:48 AM
|
0
|
2
|
863
|
|
POST
|
We will be updating the doc in the next week or two to clarify adding the CSS. In the meantime, you can use the sample here as a working example: https://github.com/Esri/jsapi-resources/tree/main/component-samples/map-components/samples/angular. Also, if you still can't get it to work, you'll need to provide a minimal reproducible sample app: https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application.
... View more
09-09-2024
10:04 AM
|
0
|
1
|
2141
|
|
POST
|
@Aeseirto raise recommendations for improvements to the SDK use https://community.esri.com/t5/custom/page/page-id/arcgis-ideas.
... View more
09-06-2024
08:04 AM
|
0
|
1
|
1245
|
|
POST
|
Make sure you add the appropriate CSS. In app.component.css: @import url('https://js.arcgis.com/4.30/@arcgis/core/assets/esri/themes/light/main.css'); And in styles.css: html,
body {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
... View more
09-04-2024
08:29 AM
|
0
|
3
|
2245
|
|
POST
|
Hi @AllenHuang, This might be related to a known Angular bug that affected the SDK's widget buttons. Make sure you are running zone.js 0.14.5 or greater. For more info: https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli#known-issues.
... View more
08-29-2024
02:16 PM
|
0
|
1
|
836
|
|
POST
|
@Aeseir another option is to follow the feedback-js-api-next repo: https://github.com/Esri/feedback-js-api-next/blob/main/CHANGELOG.md. In the CHANGELOG,, we try our best to doc changes for the "next" release.
... View more
08-29-2024
01:17 PM
|
2
|
3
|
1335
|
|
POST
|
Thanks for the update @SonnyTF. Here's a Knowledge Base article with more information on the issue: https://support.esri.com/en-us/knowledge-base/defective-chromium-128-update-and-arcgis-maps-sdk-for-j-000033499. Related community conversation: https://community.esri.com/t5/arcgis-online-questions/map-error-in-new-chrome-update-128-0-6613-85/m-p/1526091#M61070.
... View more
08-29-2024
08:24 AM
|
0
|
0
|
1204
|
|
POST
|
Hi @SonnyTF, try upgrading your SDK version and see if you are still getting the error - latest version is 4.30. Not sure if you were aware, version 4.18 (released December 2020) was retired on May 1st. https://support.esri.com/en-us/products/arcgis-maps-sdk-for-javascript/life-cycle.
... View more
08-23-2024
10:34 AM
|
1
|
4
|
1549
|
|
POST
|
Hi @HariKrishnaInukollu are you migrating to the "@arcgis/core" npm package which is our core API, or the new web components? For the new web components here's a getting started tutorial https://developers.arcgis.com/javascript/latest/tutorials/using-view-with-components/ and here's the Map component reference documentation: https://developers.arcgis.com/javascript/latest/references/map-components/?path=/docs/component-reference-map--docs and here are some getting started guidelines for using components with React: https://developers.arcgis.com/javascript/latest/get-started-react/.
... View more
07-30-2024
07:57 AM
|
0
|
0
|
543
|
|
POST
|
Hi @joelwüthrich we have verified basic functionality works in Angular 18 with the ArcGIS Maps SDK for JavaScript. You can always check on the latest version that has been verified via the simple working example here: https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-angular-cli. Be sure to read the Known Issues section of the README. Angular 18 gives you two bundler choices: esbuild (default) and webpack. If you have additional questions feel free to post them here, in the community forum.
... View more
07-24-2024
07:23 AM
|
0
|
0
|
1667
|
| 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 |
3 weeks ago
|