|
POST
|
Hi @RussellMGreen unfortunately we don't currently have a way to export interfaces and other types. You will still need to use the __esri namespace for gaining access to most items that are not classes. We do have an issue open for improving this in the future.
... View more
04-18-2023
01:48 PM
|
1
|
0
|
1423
|
|
POST
|
Hi @GIS_Weasel we are going to clarify the deprecation wording and sync that up with any SDK documentation pages. The good news is only the custom widget sample, itself, is being deprecated. You can continue to use Vite, you can extend the capabilities of the 4.x esri/widgets/Widget class, and you can continue to use the SDK's viewModels. Note that the React and Vue samples are using Vite, and so are the downloadable ESM-based SDK samples. Our goal is for the SDK to be compatible with all the major frameworks and module bundlers. With regards to migrating custom 3.x content to 4.x, building custom UI within frameworks such as React, Angular or Vue is best done using their respective UI patterns and practices. Of course, you can also continue to use 4.x OOB SDK widgets within the MapView/SceneView. And, you can also incorporate the Calcite Design System: https://developers.arcgis.com/calcite-design-system/.
... View more
04-11-2023
02:08 PM
|
1
|
1
|
2762
|
|
POST
|
Hi @Lzy, for an overview of our ESM bundle size and performance here's a link: https://github.com/Esri/jsapi-resources/tree/main/esm-samples#bundle-size-and-performance. If you require further assistance, please provide a simple, reproducible sample using github, stackblitz, or codesandbox. We recommend using our ESM examples as a starting point for building a test sample: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-vue.
... View more
04-06-2023
01:19 PM
|
0
|
0
|
762
|
|
POST
|
Hi @RazvanVxMt take a look at this discussion: https://github.com/Esri/jsapi-resources/issues/437#issuecomment-1235628447. It's about React, but the concept for managing the View and just removing the container is the same for Angular or any other framework. If you still need further assistance, you'll need to provide a simple, working github repo, codesandbox or stackblitz example.
... View more
03-30-2023
11:09 AM
|
0
|
2
|
2413
|
|
POST
|
@agauch the download has been fixed. Give it another try and let us know if there are any more issues.
... View more
03-23-2023
11:46 AM
|
0
|
0
|
1088
|
|
POST
|
Hi @Blakearc most likely the View isn't ready (view.ready === false) when you try to initialize the Locate widget. If you are still having issues after looking into that, you'll need to provide a focused, working github repo, stackblitz or codesandbox example of your React project. Here a basic troubleshooting guide: https://github.com/Esri/jsapi-resources/blob/main/TROUBLESHOOTING.md#four-triage-steps.
... View more
03-23-2023
07:30 AM
|
2
|
1
|
1412
|
|
POST
|
HI @agauch thanks for letting us know, we are looking into it.
... View more
03-20-2023
08:13 AM
|
0
|
0
|
1146
|
|
POST
|
Hi Robert, there is information on the build bundles here: https://github.com/Esri/jsapi-resources/tree/main/esm-samples#bundle-size-and-performance.
... View more
03-08-2023
08:46 AM
|
1
|
0
|
579
|
|
POST
|
For fully custom widgets, use the UI library of your choice. We want to re-evaluate how custom widgets work. Additionally, the JS Maps SDK uses legacy TypeScript decorators, and we have documented that for custom widgets you need to set useDefineForClassFields to false. This could potentially limit the TypeScript target that you want to use, in the future. And there are also new decorator changes coming in TypeScript 5.0 that we need to investigate.
... View more
03-01-2023
04:16 PM
|
1
|
4
|
2877
|
|
POST
|
Hi @MichailMarinakis1 thanks for the questions, and we are glad everything worked like a charm. Correct, as you are discovering there isn't a one-size-fits-all solution to implementing custom applications built with modern JavaScript build tools, templates and frameworks. There are many excellent third-party choices, they all have their area of expertise and they iterate, constantly. Our recommendation is to prototype a variety of approaches and see what works best for you and your organization's unique requirements. Our goal for the JavaScript Maps SDK is to work with the widest number of these. That's what happened with arcgis-js-cli, over time the variety and advancements of modern choices for ESM developers made its' interpretation of project scaffolding obsolete.
... View more
02-28-2023
09:20 AM
|
1
|
6
|
2899
|
|
POST
|
Hi Bob, it's in the queue and we've done some of the groundwork for it. Unfortunately, we don't have an ETA at this time.
... View more
02-27-2023
06:47 AM
|
0
|
0
|
449
|
|
POST
|
Hi@MajidH there currently no plans to add official ESM (@arcgis/core) unit testing examples. Can you share a simple github repo, stackblitz or codesandbox? Then anyone on this thread can try to repro with all dependencies, configuration, usage patterns, etc.
... View more
02-21-2023
09:49 AM
|
0
|
0
|
1994
|
|
POST
|
@AriefAbuBakarthis is now fixed and will be available at 4.26. You can test it today by installing the latest 'next' build: npm i @arcgis/core@next
... View more
02-16-2023
04:53 PM
|
0
|
0
|
1717
|
|
POST
|
I just double checked the code, the enableHighAccuracy property is set to true in the ArcGIS JS SDK by default at 4.25. But YMMV based on the items I mention above.
... View more
01-20-2023
10:12 AM
|
0
|
0
|
671
|
|
POST
|
> I believe someone did put in a support ticket on this for me at our organization. Hi@ZacharyHart I haven't seen a support ticket, you might want to double check on your end. We took a close look at the Locate Widget and confirmed it is using the browser's built-in W3C Geolocation API via the getCurrentPosition() method. Because the widget only acts as a pass-thru for the geolocation results, the points you are seeing are exactly what is provided by the browser's own API. The best way to get better geolocation capabilities are to either use the native device operating system APIs or build additional software functionality to help normalize the raw location results. TL;DR; Differences in geolocation could potentially be explained by variations in how the Geolocation API options (maximumAge, timeout, enableHighAccuracy) are configured on the widget via the geolocationOptions property. Generally speaking, the Geolocation API does a decent job for consumer-grade geolocation use cases. However, here are some examples of things that affect accuracy: * GPS variations - not all chips are the same, plus GPS satellite signal strength fluctuates and is affected by your surroundings (hills, mountains, buildings, power lines, trees, storm clouds, car roof, etc) * OS and browser variations in geolocation implementation * browser or device caching of geolocation data * nearby WiFi routers, cellular service trilateration since these signals also fluctuate continuously * Use of a VPN * Combinations of all of the above
... View more
01-20-2023
09:03 AM
|
1
|
0
|
2816
|
| 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
|