|
POST
|
Hi @ShefaliMantri, the latest version of the API is 4.22. Which is quite a bit further along than 4.13. This issue may have been fixed at a previous release. Can you test with 4.22?
... View more
01-05-2022
08:50 AM
|
1
|
1
|
2775
|
|
POST
|
Hi @voliv, thanks for posting your question here. It sounds like the widget would need to be somehow refreshed or re-created. Have you tried either of these methods? https://developers.arcgis.com/javascript/3/jsapi/directions-amd.html#reset https://developers.arcgis.com/javascript/3/jsapi/directions-amd.html#settravelmode Also, do you have the ability to migrate to 4x?
... View more
01-05-2022
08:44 AM
|
0
|
0
|
1942
|
|
POST
|
Hi @BatesRambow, thanks for posting your issue here. I am investigating this issue with the Search widget.
... View more
01-05-2022
08:32 AM
|
0
|
0
|
5430
|
|
POST
|
Rene is correct. Also, here are a couple of samples that might provide inspiration: https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/ https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-customsource/
... View more
01-05-2022
08:26 AM
|
0
|
0
|
1796
|
|
BLOG
|
Say goodbye to 2021, and hello to 4.22. Also, please send your regards to 3.39. By the numbers We fixed 39 bugs, made 11 enhancements, added/updated 15 samples. And welcomed Bulgarian to our list of supported locales. Weather or not If you’re looking for where all the lonely people have gone this Winter, look no further than the new environment property that allows you to change the weather in your 3D SceneViews. Adjust cloud cover, fog strength, and even time to enjoy new atmospheric and weather visualizations today! https://developers.arcgis.com/javascript/latest/sample-code/scene-weather/ Weather visualization Go with the flow Just in time for the holiday season, the AnimatedFlowRenderer (beta) allows you to visualize raster data with animated streamlines. Besides serving as a provocative and mesmerizing visualization, this renderer can be used to visualize flow direction and magnitude information in ImageryLayers and ImageryTileLayers. It even works with layer effects and blend modes! https://developers.arcgis.com/javascript/latest/sample-code/layers-imagery-afrenderer/ AnimatedFlowRenderer (beta) Positive visualization Smart mapping statistics got significantly faster by moving the logic for calculating unique values, summary statistics, class breaks, and histograms from the main thread to workers. But it’s not just about speed, it’s about accessibility too. So we added 167 colorblind-friendly color ramps to the Smart Mapping color APIs. But it’s not just about accessibility, it’s about comprehension too. So we added a new chapter to the Visualization guide called High density data. Check out all the marvelous visualization guide documentation today. https://developers.arcgis.com/javascript/latest/release-notes/ - visualization Visualization guide pages Don’t disappear without a Trace Proper network management involves tracing your network to optimize paths for resources to travel. The UtilityNetworkTrace widget provides a way to run traces in a Utility Network based on connectivity or traversability from defined inputs. Whether you’re into water, telephony, or some other utility, the UtilityNetworkTrace widget is a great choice for you and your coworkers. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkTrace.html UtilityNetworkTrace widget Units of graphic information, which define points in three-dimensional space Powered by WebGL2 and the magic of the internet, you can now visualize atmospheric data, oceanic data, geological underground models, or (finally) space-time cubes using voxel layer (beta). A voxel layer represents multidimensional volumetric data. Use voxel layers to explore spatial relationships with other content. For example, an underground model visualized as a voxel layer can be viewed together with SoFi Stadium in Inglewood, California, to evaluate planned construction or maintenance work for the upcoming SuperBowl. https://developers.arcgis.com/javascript/latest/sample-code/layers-voxel/ Intro to Voxel Layer Labile line labels While labeling lines with the ArcGIS API for JavaScript is great, it could be better. Accordingly, we added some new properties to the line labeling experience. Entire labels can now be oriented parallel to the line, instead of each character being oriented to the curve of the line. You can also control the distance between labels on a line, or configure it to only have one label per line segment. Keep your eyes out for even more configurable properties becoming available at future releases. https://developers.arcgis.com/javascript/latest/release-notes/ - improved-polyline-labels Improved polyline labels Don’t block these popups Feel free to turn off your Popup Blocker, because our popups only display for features visible in the map. If there is a filter applied, only the features that pass the filter will return a popup. PopupTemplate supports a new content type, ExpressionContent, which allows you to use Arcade to create popup content elements. This includes rich text with HTML, tables, and charts. Attachment content within Popups now uses “auto” as the default displayType instead of “list”. If the feature layer's capabilities support resizing attachments, the content will display in preview mode, which is nice. https://developers.arcgis.com/javascript/latest/release-notes/ - popup-updates Popup updates Does it print? By default, the map extent is now preserved instead of the map scale in the printout. This allows you to print all the features in the current view, and has been a highly requested feature. To preserve the scale instead, you can use the TemplateOptions.scaleEnabled property. If using a custom print service, custom text elements are now supported for each print template with the Print widget (this was always possible with the print() method). The widget calls the Get Layout Templates Info task on the GPServer to discover possible custom text elements values for each template. Values found there will be populated in the Print widget under Advanced options. Known limitation: no spell-checking service is provided by the widget, so please proofread your custom text prior to publication. https://developers.arcgis.com/javascript/latest/release-notes/ - print-widget Print widget: app (top-center), 4.21 printout (left), 4.22 printout (right) Keeping layers fresh Fetching new data after a layer is initialized and loaded to the map sounds pretty magical, but there’s actually some science behind it. We added this ability to CSVLayer, GeoJSONLayer, and GeoRSSLayer, in addition to the layers that already had support for refreshments refreshing. https://developers.arcgis.com/javascript/latest/release-notes/ - refreshable-layers And many more There’s no way we could tell you about all the great new stuff at 4.22 and 3.39 in this blog. At least, not in an entertaining way. Improved performance and stability? Yep, that sounds important. Time-enabled bookmarks? Oh yeah, we could have mentioned that. Improved support for overlapping polygon features? Many will benefit from this enhancement. But, we hope we covered enough to get you excited about the latest release(s). If you read this far, leave a comment below to tell us what your favorite update is! Release Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/whats-new-in-the-arcgis-api-for-javascript-version-4-22/ 4.22 Release Notes https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html 4.22 Samples https://developers.arcgis.com/javascript/latest/sample-code/?search=4.22 3.39 What’s New https://developers.arcgis.com/javascript/3/jshelp/whats_new.html
... View more
12-09-2021
09:57 AM
|
1
|
1
|
1833
|
|
POST
|
Another option is to convert the point into WGS84 for the view, so you can still have the same basemap, like this: https://codepen.io/noash/pen/poWbxEm?editors=1000
... View more
12-09-2021
07:43 AM
|
1
|
1
|
5002
|
|
POST
|
Unfortunately, it's the widgets that get localized. For basemaps, and goeocoding results/suggestions, you would need to use a specific service or data.
... View more
12-09-2021
07:40 AM
|
0
|
0
|
1292
|
|
POST
|
Hi @MuhammadAlza, I'm not sure what you mean by the "widget". The 3x version of the ArcGIS API for JavaScript will continue to work, you can continue to use it, but once each version of the API is retired, there will no longer be official support from Esri. For the Web Optimizer, you can no longer use it to create custom builds, but existing custom builds will continue to be hosted until July 2022.
... View more
12-09-2021
06:38 AM
|
0
|
0
|
2672
|
|
POST
|
@Wade, quite welcome. Feel free to mark my post as the solution if you feel it answered your question.
... View more
12-09-2021
06:29 AM
|
0
|
0
|
3439
|
|
POST
|
Hi @jbarrmetro, for this, you should be able to use a query with the FeatureLayer against the geometry of interest. If it's a hosted FeatureLayer, you can use the queryExtent() method on the FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryExtent If it's not, you can use the executeQueryJSON() method: https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html#executeQueryJSON
... View more
12-08-2021
08:05 AM
|
0
|
1
|
2393
|
|
POST
|
Hi @RemiBecheru, you can use the methods from the CoordinateConversionViewModel in your own UI, if that is of interest to you. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion-CoordinateConversionViewModel.html#methods-summary I'd like to hear more about your thoughts on the CC widget. Feel free to outline them here, or message me directly.
... View more
12-08-2021
07:57 AM
|
0
|
0
|
1945
|
|
POST
|
Hi @Wade, are you talking about hidden layers displaying in the printed legend? If so, this is a known issue that was recently fixed. You can see the fix now using next, or wait for 4.22 to release (which should be later this week). next: https://github.com/Esri/feedback-js-api-next
... View more
12-08-2021
06:43 AM
|
0
|
2
|
3468
|
|
POST
|
Hello @RodrigoFelga and @RianCrowley1 - we have this property added to the IdentifyParameter class for the next version of the API (4.22), which is expected to release later this week. We appreciate your patience.
... View more
12-07-2021
12:33 PM
|
0
|
0
|
1466
|
|
POST
|
Hi @CameronBlandy, thanks for the question. Are you setting the "updateOnGraphicClick" property on the Sketch widget, or SketchViewModel? If you set it on the ViewModel, it seems to behave as expected. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#updateOnGraphicClick test-app (with measure) https://codepen.io/noash/pen/zYEqdbr?editors=1000
... View more
12-07-2021
10:33 AM
|
0
|
0
|
1218
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 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 |
Thursday
|