|
POST
|
Hi @DavidShearan the Locate widget uses the native JavaScript Geolocation API. Most issues you run into will be related to your browser capabilities when using that API. Give this test app a try and let us know if there are any errors in the browser's developer console. You can change the CSS and SDK version to 4.18: https://codepen.io/andygup/pen/jOQjqOo?editors=1100. Here's an example error:
... View more
08-10-2023
03:37 PM
|
1
|
0
|
1691
|
|
IDEA
|
Hi John, I think you meant to put this under "Questions" and not "Ideas", is that correct? Here is the link for developer questions: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bd-p/arcgis-api-for-javascript-questions.
... View more
08-10-2023
11:31 AM
|
0
|
0
|
1013
|
|
POST
|
Oops, also forgot to include our basic Angular CLI sample: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli.
... View more
08-07-2023
02:17 PM
|
1
|
0
|
1517
|
|
POST
|
We don't offer an Angular component example, but there should be enough information for you to build one. The FeatureTable only needs a Feature Service, so it can already be used independent of a map. SDK guide topic - Custom UI basics Basic Feature Table sample - Vanilla JavaScript + AMD (no framework) React/Vite custom UI component sample
... View more
08-07-2023
02:14 PM
|
1
|
1
|
1517
|
|
POST
|
Hi @HHAO here's documentation with information and instructions on how to workaround that transpilation error: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/webpack#known-issues. Version 4.24 was the first version of the SDK to use ES2020, and that allowed us to use new JavaScript features that create parsing errors in older versions of Webpack.
... View more
08-03-2023
07:28 AM
|
0
|
0
|
2053
|
|
POST
|
Hi @NikMartin this isn't an issue with the ArcGIS JS SDK. It's a problem with the React component coding, it looks like the component (as an HTMLElement) has not been imported into the app correctly. Here is a conceptual example: https://developers.arcgis.com/javascript/latest/custom-ui/#import-the-component-into-your-application. Without a reproducible sample via a github repo or Stackblitz we can't tell for certain. You'll need to provide a link to one if you are still stuck. Also note, React recommends not using Class components: https://react.dev/reference/react/Component. They recommend migrating to functions, which is the pattern we demonstrate in the jsapi-custom-ui sample.
... View more
08-01-2023
05:55 PM
|
0
|
1
|
3184
|
|
POST
|
@Thomas_Z2please provide a simple, focused sample application that reproduces the error. We recommend using vanilla JS (e.g. codepen demoing the webmap), stackblitz or github repo. For example, here is an Angular example that provides a good starting point: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli.
... View more
07-26-2023
10:51 AM
|
0
|
1
|
2489
|
|
POST
|
Hi @Vara_PrasadM_S that is a common error and it means your app or an intermediary app, such as a proxy, is modifying an HTTP header field. This isn't an issue with the ArcGIS JS SDK. You'll need to examine your network requests, and there are plenty of resource on the web providing information on how to narrow down what's causing the problem and fix it.
... View more
07-05-2023
01:36 PM
|
0
|
0
|
2085
|
|
POST
|
Hi@daltvr are you saying you downgraded to ArcGIS Maps SDK for JavaScript version 4.20.2, and then things worked, but they break at version 4.21.0? The error about 'expected maximum size' is odd. This issues you are having might be related to the Content Security Policy settings, especially if they are following 'strict' guidelines. See this doc for more info: https://developers.arcgis.com/javascript/latest/faq/#does-the-arcgis-maps-sdk-for-javascript-support-all-content-security-policy-csp-directives. Can you also confirm your version of Capacitor and Android?
... View more
06-23-2023
01:37 PM
|
0
|
1
|
2390
|
|
POST
|
Hi @daltvr the error might be a configuration issue with the emulator. Have you tried running the app on an actual device? We have other customers running ArcGIS Maps SDK 4.x for JavaScript on Capacitor. Also check our System Requirements as related to WebGL: https://developers.arcgis.com/javascript/latest/system-requirements/
... View more
06-20-2023
06:54 AM
|
0
|
0
|
2409
|
|
POST
|
Hi @AddisonShaw we don't have any plans for framework-specific wrappers, such as React.
... View more
06-13-2023
09:28 AM
|
1
|
1
|
1868
|
|
POST
|
Hi @CE1, SDK version 4.26 (and 4.25) is only supported on Safari 15 or later: https://developers.arcgis.com/javascript/latest/system-requirements/#supported-browsers. There are also feature specific requirements for SceneViews: https://developers.arcgis.com/javascript/latest/system-requirements/#feature-specific-requirements.
... View more
05-30-2023
06:35 AM
|
0
|
0
|
799
|
|
POST
|
Thanks for reporting. They look the same to me on the repo's 'main' branch and the sample started up okay with no errors. <div #mapViewNode></div> @ViewChild('mapViewNode', { static: true }) private mapViewEl!: ElementRef;
... View more
05-23-2023
07:07 AM
|
0
|
0
|
4467
|
|
POST
|
@jauhari_manihere is the link to the repo for ArcGIS JS SDK's ESM samples: https://github.com/Esri/jsapi-resources/tree/main/esm-samples and there is an Angular v15 (soon to be upgraded to v16) sample in there. We provide these unsupported samples as proof-of-concepts for the latest shipping version the ArcGIS JS SDK (4.26) plus the latest version of framework or bundler. Note, Angular 9 is no longer supported by Google: https://angular.io/guide/releases#actively-supported-versions. If you run into issues with client-side build tools, we also have this handy troubleshooting guide: https://github.com/Esri/jsapi-resources/blob/main/TROUBLESHOOTING.md For framework or bundler questions, it's best to contact those communities directly.
... View more
05-18-2023
09:28 AM
|
0
|
0
|
1829
|
|
POST
|
> The arrow always draws multiple times when there is a new GPS position. Two graphics makes sense. There is the Track widget's graphic being drawn, and you are also adding a graphic to the View's graphic collection. Also, I'm fairly certain you can only set the Track widget's graphic property once, when the widget is first initialized.
... View more
05-12-2023
01:45 PM
|
0
|
1
|
3472
|
| 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 |
yesterday
|