|
POST
|
@turbolego thanks for sharing, we'll look into this further. I'm not liking that you had to downgrade your JS API version to get it to work.
... View more
07-05-2022
07:09 AM
|
0
|
1
|
10896
|
|
POST
|
Hi @turbolego those errors seem to be showing a configuration issue in Angular and not an issue with arcgis/core. Did the app work with a previous version of arcgis/core? We'll need a simple a GitHub repo that reproduces the issue. Also, check your TSConfig and browserslistrc. Here's the browsers list from our Angular 11 sample (~early 2021, v4.19) https://github.com/Esri/jsapi-resources/blob/9b4b278c2611f413fdfaa8c880177052fda9e336/esm-samples/jsapi-angular-cli/.browserslistrc and tsconfig https://github.com/Esri/jsapi-resources/blob/9b4b278c2611f413fdfaa8c880177052fda9e336/esm-samples/jsapi-angular-cli/tsconfig.json
... View more
07-01-2022
07:38 AM
|
0
|
1
|
10995
|
|
POST
|
@MikeVare you able to reproduce the issue with this codepen: https://codepen.io/andygup/pen/LYdYybe?
... View more
06-28-2022
09:08 AM
|
0
|
0
|
722
|
|
POST
|
Correct, we measure a variety of stats including the size of the entire build folder for each of the samples. A 1GB folder could the the result of things like configuration issues, third party libraries, a very large and complex application, lots of image files, etc.
... View more
06-16-2022
01:44 PM
|
1
|
0
|
4203
|
|
POST
|
@JamesBrett Nope, that doesn't sound right. Can you provide a simple github repo that we can look at? Here are our sample app build sizes for comparison: https://github.com/Esri/jsapi-resources/blob/master/esm-samples/.metrics/4.23.0.csv
... View more
06-16-2022
01:36 PM
|
0
|
2
|
4205
|
|
POST
|
I also updated my previous code snippet to hopefully make the pattern more clear.
... View more
06-06-2022
07:36 AM
|
0
|
1
|
2219
|
|
POST
|
Oh, whoops, you have to import the module first, here's a working AMD codepen example: https://codepen.io/andygup/pen/rNJrbzM?editors=1000. <html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="initial-scale=1,maximum-scale=1,user-scalable=no"
/>
<style>
html,
body,
#viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
</style>
<link
rel="stylesheet"
href="https://js.arcgis.com/4.23/esri/themes/light/main.css"
/>
<script src="https://js.arcgis.com/4.23/"></script>
<script>
require(["esri/Map",
"esri/views/MapView",
"esri/core/reactiveUtils"], (Map, MapView, reactiveUtils) => {
const map = new Map({
basemap: "topo-vector"
});
const view = new MapView({
container: "viewDiv",
map: map,
zoom: 4,
center: [15, 65]
});
const handle = reactiveUtils.when(
// getValue function
() => view.updating === false,
// Callback function
() => {
console.log("view update: ", view.updating);
}
);
});
</script>
</head>
<body>
<div id="viewDiv"></div>
</body>
</html> With ES modules the import pattern would look like this: import { when } from "esri/core/reactiveUtils";
when(() => item.layer.visible === true, () => layerListFormat(item));
when(() => item.layer.visible === false, () => layerListFormat(item));
... View more
06-06-2022
07:31 AM
|
0
|
2
|
2219
|
|
POST
|
We are updating the docs for 4.24. This might help in the meantime: // watchUtils
watchUtils.whenTrue(foo, "some.value", () => console.log("True"));
watchUtils.whenFalse(foo, "some.value", () => console.log("False"));
// Equivalent in reactiveUtils
reactiveUtils.when(() => some.value === true, () => console.log("True"));
reactiveUtils.when(() => some.value === false, () => console.log("False"))
... View more
06-02-2022
06:41 AM
|
1
|
0
|
2284
|
|
POST
|
Oh, one more thought. Even if it is a life-cycle issue related to something like a Symbol.iterator, we'd still need a repro case to figure out what part of the API might be choking.
... View more
05-27-2022
12:22 PM
|
0
|
0
|
2245
|
|
POST
|
The error signature looks more related to a compiler issue than an application life-cycle error, for example there aren't any null or undefined values. I talked to one of my vector tile layer colleagues and they hadn't seen that error before. Can you share a github link to a simple repository that reproduces the issue? Oftentimes going through the exercise of creating a simple repro helps uncover the underlying issue. Without a repro case there's not much more we can do, there are too many variables and permutations of dependencies.
... View more
05-27-2022
12:14 PM
|
0
|
1
|
2246
|
|
POST
|
@FunkMonkey33 It might be a transpiler issue - take a look at the browserslistrc in our Angular sample => https://github.com/Esri/jsapi-resources/blob/master/esm-samples/jsapi-angular-cli/.browserslistrc.
... View more
05-27-2022
07:50 AM
|
0
|
0
|
2287
|
|
POST
|
@DylanKennardnode 16 shouldn't be causing that error - on the surface it looks like a transpiler issue. If you can provide a simple github repo that reproduces the error we'll take a look.
... View more
05-26-2022
07:55 AM
|
0
|
0
|
4339
|
|
POST
|
Hi @MichaelLev for node projects also take a look at ArcGIS REST JS => https://developers.arcgis.com/arcgis-rest-js/layers/query-a-feature-layer-sql/ and here's the API reference: https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-feature-service/queryFeatures.
... View more
05-26-2022
07:42 AM
|
2
|
0
|
1636
|
|
POST
|
Hi@JackFairfield, this is a framework configuration issue, I didn't see any ArcGIS JS API bug. It's common for the browserslist to be tweaked for performance and appropriate transpiling based on the system requirements of any dependencies. Note, we dropped IE 11 and Edge Legacy support back in December 2020 at 4.18 - more details here: https://developers.arcgis.com/javascript/latest/4.18/#end-of-ie11edge-legacy-support. Our latest System Requirements are described here: https://developers.arcgis.com/javascript/latest/system-requirements/.
... View more
04-29-2022
12:08 PM
|
0
|
0
|
4438
|
|
POST
|
Hi @JakeMatthys In general, iOS and Safari are more prone to memory crashes than Android and Chrome. Do you have a simple sample or basic github repo that reproduces the issue? If we can take a look, we might be able to make some suggestions.
... View more
04-27-2022
05:58 PM
|
1
|
0
|
1204
|
| 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 |
12 hours ago
|