|
POST
|
@EmreCanhere's an example for Angular 11 + Jest: https://github.com/andygup/angular-jsapi-jest
... View more
12-08-2021
07:32 AM
|
0
|
2
|
3797
|
|
POST
|
Thanks @RobertScheitlin__GISP link has been updated to an existing sample. The other sample (SketchViewModel Styler) will be available in the upcoming 4.22 release.
... View more
12-07-2021
01:52 PM
|
0
|
0
|
1800
|
|
POST
|
@RemiBecherucorrect, as of 4.21 we no longer support directly modifying the out-of-the-box widget View code. Which widget are you using? Some options going forward are extending the ViewModel, or building a custom widget. A common example for extending the ViewModel is SketchViewModel, here's the doc: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html and here's an example: https://developers.arcgis.com/javascript/latest/sample-code/layers-mapnoteslayer/ We are looking into adding a sample and some additional doc on this.
... View more
12-07-2021
12:57 PM
|
1
|
0
|
1805
|
|
POST
|
@MatthieuBrisset your repo doesn't seem to have jest.config.js and babel.config.js? There are also a bunch of dependencies in there that may/may-not affect something. One recommendation is use one of our repos as a starting point because they have minimal dependencies: https://github.com/Esri/jsapi-resources/tree/master/esm-samples.
... View more
12-06-2021
04:42 PM
|
0
|
0
|
3810
|
|
POST
|
@MatthieuBrissetcan you provide a simple github repo? That will be the easiest way to troubleshoot. cc @Anonymous User
... View more
12-02-2021
09:31 AM
|
0
|
0
|
3825
|
|
POST
|
Hi @BradleyWillis for ArcGIS Runtime SDK for Java you'll need to post your questions in the Java community which is here => https://community.esri.com/t5/arcgis-runtime-sdk-for-java-questions/bd-p/arcgis-runtime-sdk-for-java-questions
... View more
11-15-2021
10:52 AM
|
0
|
0
|
897
|
|
POST
|
@KartikThakur we suggest using Esri-loader to help load ArcGIS JS API 3.x in JavaScript frameworks: https://github.com/Esri/esri-loader/blob/master/README.md. For best performance and the latest functionality, we recommend using 4.x latest and our ES modules build: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli#arcgis-api-for-javascript-with-angular-cli.
... View more
11-11-2021
08:08 AM
|
0
|
0
|
4889
|
|
POST
|
Confirmation is in-progress for 4.21 and /next. I'll post any updates to this repo: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli.
... View more
11-05-2021
09:19 AM
|
1
|
0
|
4320
|
|
POST
|
Hi @YunusAhmadBaktir we don't currently support using SSR with the ArcGIS JS API. Here is a blog post that might provide some hints: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/ssr-esm/.
... View more
10-27-2021
07:27 AM
|
1
|
0
|
1142
|
|
POST
|
@PeteVittthat sounds like a configuration issue. See this doc on Working with Assets: https://developers.arcgis.com/javascript/latest/es-modules/#working-with-assets. You can also compare your code against our Angular example: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli.
... View more
10-20-2021
04:06 PM
|
0
|
2
|
6431
|
|
POST
|
Hi @LukeCalladine this sounds like a configuration issue with your module bundler. Do you have a github repo with a simple app that reproduces the issue? Or you can try to reproduce it with one of our sample apps: https://github.com/Esri/jsapi-resources/tree/master/esm-samples. Maybe comparing against our samples will provide some hints.
... View more
10-20-2021
07:44 AM
|
2
|
0
|
4086
|
|
POST
|
HI@arahman_mdmajid my recommendation is build a simple, vanilla JS app that reproduces the issue and then call tech support. If nothing changed in the web app, then this most likely is not a problem caused by the ArcGIS JS API.
... View more
10-15-2021
07:21 AM
|
1
|
0
|
4792
|
|
POST
|
@RaviKumarEkkuluriif you are using a FeatureLayer for clustering, then take a look at the code snippet example in the source property: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#source. Also take a look at the API doc for point Geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html. One caveat with Angular and TypeScript is you have to explicitly declare all ArcGIS JS API classes because of a well-known limitation in TypeScript. You'll have to convert your JSON to an array of Graphics, and then add those Graphics to FeatureLayer.source. Here's an example of how it will work in the API: import FeatureLayer from '@arcgis/core/layers/FeatureLayer';
import Graphic from "@arcgis/core/Graphic";
import Point from "@arcgis/core/geometry/Point";
let point = new Point(
{
latitude: 100,
longitude: 30
});
let tempGraphic = new Graphic({
geometry: point,
attributes: {
ObjectID: 1,
DepArpt: "KATL",
MsgTime: Date.now(),
FltId: "UAL1"
}
});
let layer = new FeatureLayer({
source: [tempGraphic],
objectIdField: "ObjectID"
});
... View more
10-06-2021
08:50 AM
|
0
|
1
|
1767
|
|
POST
|
@ekkuluriravithere is an SDK Guide Topic covering cluster here: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster/. My recommendation is get the functionality working in vanilla JS first and then migrate it to Angular. Also, here is our Angular CLI example: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli
... View more
10-04-2021
02:24 PM
|
0
|
3
|
1791
|
|
POST
|
HI @Alexandre-Notos, the API functionality is exactly the same and for the TypeScript code you'll need to swap out AMD module paths with ES modules paths and turn the commonjs require statements into import statements.
... View more
09-23-2021
10:02 AM
|
0
|
1
|
1894
|
| 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
|