|
POST
|
Hi @HenryKo2, this ability is not available yet. We have it in our roadmap, and I will update this post when we have something relevant to share.
... View more
07-26-2022
01:13 PM
|
0
|
3
|
2567
|
|
POST
|
Hi @Vakhtang_Zubiashvili, I think the easiest way is to use localization. There are two methods described in our guide topic that should help: https://developers.arcgis.com/javascript/latest/localization/
... View more
07-11-2022
06:11 AM
|
2
|
0
|
1377
|
|
POST
|
I think you want to use a hitTest for this. Here is an example: https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/
... View more
07-07-2022
07:08 AM
|
0
|
0
|
1070
|
|
POST
|
Hi @ElohoKennedy, you have two options: RouteLayer and Directions widget, or just the RouteLayer. You can dynamically update the Directions widget with programmatically created RouteLayers. Here's a blog and a demo covering this functionality. Routing directions are displayed inside the Directions widget: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/changing-directions/ https://noashx.github.io/blog/ChangingDirections.html You could also just use the RouteLayer, and then handle the display of the directions yourself. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-routelayer To display the directions, you'll want to work with the results of RouteLayer.solve(): https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html#solve https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html#RouteLayerSolveResult https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RouteInfo.html Hope this helps!
... View more
07-07-2022
07:06 AM
|
0
|
0
|
971
|
|
POST
|
The 2D measurement widgets will compute distances geodetically for geographic coordinate systems and web mercator. For projected coordinate systems (non-web mercator), computations will be performed planimetrically for distances up to the threshold distance defined by geodesicDistanceThreshold. Are you looking for this property to adjust the threshold? https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D-DistanceMeasurement2DViewModel.html#geodesicDistanceThreshold
... View more
07-06-2022
08:24 AM
|
0
|
0
|
724
|
|
POST
|
The QueryTask is designed to work with an ArcGIS Server. If you look at the network traffic, does the payload and response look correct? Also, if you're using version 4.12 of the ArcGIS API for JavaScript, why are you using an API key? API keys were not introduced to the API until version 4.18: https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#apiKey
... View more
07-06-2022
08:16 AM
|
0
|
0
|
2474
|
|
BLOG
|
Appetizer Let’s set the table: welcome to the release of versions 4.24 and 3.41 of the ArcGIS API for JavaScript. Here are some of the 4.24 highlights (please refer to the 3.41 link at the end for 3.x updates). I also snuck in some dessert towards the end of this blog, if you're into that sort of thing. We fixed 27 bugs, made 8 enhancements, and added or updated 15 samples. We also bid farewell to Internet Explorer 11. Salad Tasks have been deprecated since 4.20. They were removed at 4.24. The API now uses WebGL2 by default, and it will fallback to WebGL1 depending on the browser. FeatureLayers can be saved to ArcGIS Online and ArcGIS Enterprise with the new save() and saveAs() methods. MapView and SceneView hit test results now return GraphicHit and MediaHit results. Entrée 3-dimensional Weather affects maps too. Make your scenes more immersive with the new rainfall and snow effects. And/or, you can explore and use free OpenStreetMap 3D data hosted by ArcGIS Living Atlas. These 3D layers present buildings, thematic trees, and realistic trees based on OpenStreetMap (OSM) data, which will be updated every month. Also, blend modes can now be used in 3D scene views to blend layers together to create a variety of very vibrant and intriguing results, unlike the method of using transparency which can result in a washed-out top layer. We enhanced the daylight widget with an option to change the lighting mode to virtual light. https://developers.arcgis.com/javascript/latest/release-notes/ - 3d-updates It’s the routing, not the destination The Directions widget is now integrated with the RouteLayer, which means that it should now be instantiated with a new or existing RouteLayer. New functionality includes the ability to save routes, and modify the visibleElements in the Directions widget UI. The Directions widget can also open and edit existing route portal items. RouteLayer can use custom symbology with the defaultSymbols property, and now works in both 2D MapViews and 3D SceneViews. https://developers.arcgis.com/javascript/latest/sample-code/widgets-directions/ Follow Print the north star arrow The Print widget now has an option to “Include north arrow” in the Advanced options, and rest/print also has a configurable property to include the north arrow in the printout. Note that the print service must have a north arrow configured on a per-layout basis for this option to be available. https://developers.arcgis.com/javascript/latest/sample-code/widgets-print/ Heatmap Summer The HeatmapRenderer now renders with WebGL, which means it can now take advantage of the following benefits: More data can be rendered Interacting with heatmaps is faster, smoother, and potentially hotter Data can now be filtered using FeatureFilter and FeatureEffect Underlying points in a heatmap can now be labeled, display popups, and be returned in a hitTest We also added a referenceScale property, which allows you to lock-in the heatmap visualization at a specific scale so it will appear consistent when zooming in and out. https://developers.arcgis.com/javascript/latest/release-notes/ - improved-heatmaprenderer Awesome Arcade API Awesome app developers now have the ability to compile and execute Arcade expressions in their own custom profiles. They will be able to do the following: Execute expressions already written for existing ArcGIS profiles in another context Evaluate Arcade expressions to display feature values outside the popup in a custom component Define custom Arcade profiles and provide a configurable experience within an app for users to write their own expressions https://developers.arcgis.com/javascript/latest/api-reference/esri-arcade.html Binning: clients first Binning is a technique that changes the way data displays at small scales. It converts the original data values into a range of smaller intervals, which are known as bins. Binning is also a new feature reduction method added as an alternative to clustering and heatmaps in 2D MapViews. You can configure the labels, popups, fields, and renderer of a layer's bins. Server-side binning, which will allow you to display aggregates of very large datasets, will be added at a future release. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionBinning.html Easy as pie charts The PieChartRenderer allows you to visualize multiple attribute values of a feature in a point or polygon layer in a 2D MapView. The value of each pie slice can be determined by a field value or Arcade expression. Use the PieChartRenderer with visualVariables to vary the size of the pie chart based on an Arcade expression, such as the sum of its fields. https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-PieChartRenderer.html Social media layers The MediaLayer class is used to add image and video elements to the map at a specified geographic location. So it’s like an enhanced version of the 3x MapImageLayer. This layer can be used to display old scanned maps, weather data, satellite imagery, fantasy images, videos, and more! The geographic location of the image or video can be set using the extent and rotation, or the corner points. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MediaLayer.html And now, time for something slightly different. Dessert Title: Doctor ArcGIS API for JavaScript (feat. version 4.24) Disclaimer: The views and opinions expressed in the below song are those of the author and do not necessarily reflect the official policy or position of Esri, or any of its affiliates. They call me Doctor ArcGIS API for JavaScript Good morning, how are you? I’m version 4.24 I’m interested in enhancements I’m not really a doctor But I am a real API I am an actual API I make pretty maps I like to visualize spatial data I think I’m getting good When I use the new MediaLayer I’ll show you pie chart rendering And you can tell me if you think You’ll need to print client-side binning I’ll enhance the Directions widget ‘Cause it needs a RouteLayer When I’m coding I can’t tell if you are Using the Arcade executor API When I get released, you can Use improved heatmaps And save feature layers Some day, somebody else besides me will Release a new version, they will Call me version 4.24 Good morning, how are you? I’m version 4.24 I’m interested in enhancements I’m not really a doctor But I am a real API I am an actual API I make pretty maps And I like to visualize spatial data I think I’m getting good When I use the new MediaLayer I’ll show you pie chart rendering And you can tell me if you think You’ll need to print client-side binning I’m not really a doctor But they call me version 4.24 Digestifs Release Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-arcgis-api-for-javascript-version-4-24/ Tasks/rest blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/rest-is-up-to-the-task/ Routing & Directions blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/changing-directions/ 4.24 Release Notes https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html 4.24 Samples https://developers.arcgis.com/javascript/latest/sample-code/?tagged=4.24 3.41 What’s New https://developers.arcgis.com/javascript/3/jshelp/whats_new.html Breaking Changes across all 4x releases https://developers.arcgis.com/javascript/latest/guide/breaking-changes/index.html Song inspiration Doctor Worm Fair use and Parody law https://en.wikipedia.org/wiki/Fair_use
... View more
06-23-2022
01:07 PM
|
2
|
7
|
3686
|
|
POST
|
Hi @KristianTuusjärvi @LukeCalladine, yes, this is still a work in progress, and we are targeting a future release (possibly version 4.25).
... View more
06-20-2022
09:05 AM
|
0
|
0
|
1033
|
|
POST
|
Hi @AhmedKhaterAK, we found the issue and will have this fixed at the next release (4.24 due out this summer).
... View more
04-28-2022
07:35 AM
|
0
|
0
|
5947
|
|
POST
|
Hi @AhmedKhaterAK, thanks for reporting this issue here. Will take a look.
... View more
04-21-2022
09:06 AM
|
0
|
0
|
5970
|
|
BLOG
|
This just in from our EC (Esri Community) correspondent in the field: “Thanks, narrator. We’ve had a bit of breaking news here around some breaking changes for version 4.24 (summer release) of the ArcGIS API for JavaScript. It looks like all those Tasks that have been deprecated since version 4.20, and the Portal helper methods that have been deprecated since version 4.21, are going to be removed entirely at the next release. The recommended way forward is to update to using the relevant rest classes and objects. There’s an entire blog available for our readers that goes into more detail here: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/rest-is-up-to-the-task/ And there’s a great video from René Rubalcava that clearly explains the story here: https://www.youtube.com/watch?v=vVZkUdmia3w&t=2s I’ve also been given information that these changes are already available for our users to test using `next` via CDN and NPM: https://github.com/Esri/feedback-js-api-next We’re also hearing that users are invited to comment here, or on the ArcGIS blog, with any questions or concerns they might have. Now, back to you in the studio.” Well folks, you heard it here first (or second). At version 4.24, no more Tasks. Let’s just hope that rest, is up to the task.
... View more
04-19-2022
10:18 AM
|
2
|
2
|
1627
|
|
POST
|
Thanks for reporting this @JoelBennett. I can reproduce the issue. We'll investigate.
... View more
04-14-2022
07:57 AM
|
0
|
3
|
6100
|
|
POST
|
Hi @orahlagi, what specifically are you trying to accomplish with your workflow? What information are you hoping to obtain from the road network?
... View more
04-11-2022
09:47 AM
|
0
|
1
|
790
|
|
POST
|
Ha, I know how that goes. Sounds good, glad it's resolved now.
... View more
03-29-2022
05:47 AM
|
0
|
0
|
2633
|
|
POST
|
Thank you @AroopChakraborty1. However, I can't do much troubleshooting with that you shared. A code snippet from the 3x app, (or even better a reproducible test app that clearly demonstrates the issue) and URL to the GP service would help troubleshoot here.
... View more
03-28-2022
11:08 AM
|
0
|
2
|
2641
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | 04-14-2026 11:59 AM | |
| 1 | 05-13-2026 10:29 AM | |
| 1 | 04-10-2026 09:11 AM | |
| 1 | 03-24-2026 11:39 AM |
| Online Status |
Online
|
| Date Last Visited |
9 hours ago
|