|
BLOG
|
Tell me that your API has released, without telling me that your API has released. Well, here goes: 35 bugs fixed. 11 new or updated samples. Officially released ES modules (no more beta). And so much more. Quarterly performance review We improved the performance of point FeatureLayers hosted on ArcGIS Online. The FeatureLayer will now fetch all its features immediately from the server. Once loaded, the features won't need to be re-requested. https://developers.arcgis.com/javascript/latest/release-notes/ - performance-improvements Performance improvements Improved 3D rendering The new lighting and shading model adds more contrast and definition to 3D content. Existing scenes will benefit from this visual improvement when SceneView.qualityProfile is set to medium or high. Objects with Physically-Based Rendering (PBR) materials, such as used in WebStyleSymbols, now display light reflections on glass or metallic surfaces. Improved rendering quality (3D) It’s business time for ES modules The ES modules are out of beta and ready for production use. These modules make it easier to do local builds of the API when integrating with third party frameworks and build tools. Read more here: https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-api-for-javascript-working-with-frameworks-and-build-tools-just-got-easier-part-2 Oh snap! Self-snapping is now supported when creating or updating line and polygon features in 2D. We also added support for feature snapping in both 2D and 3D. The Sketch widget's UI now includes an options menu to toggle snapping on/off. The Editor widget now provides the ability to set snapping when creating or updating features. https://developers.arcgis.com/javascript/latest/release-notes/ - snapping Want more? Want to use snapping with the Editor widget in 3D? We got you. https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-3d/ Edit features in 3D with the Editor widget (with snapping) Drop the reading glasses… We added a Magnifier (2D and 3D) that displays a portion of the view as a magnified image. The Magnifier can improve the editing and drawing experience of applications utilizing the Sketch and Editor widgets, especially when pairing with the new snapping functionality. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-Magnifier.html Magnifier Widget upgrades Widgets are reusable user-interface components and are key to providing a rich user experience. The ArcGIS for JavaScript API provides a set of ready-to-use widgets. Beginning with version 4.19, the story gets even better. The FeatureTable widget was enhanced to improve compatibility with API themes. It is also now possible to filter out what is displayed within the table. The FloorFilter widget filters features from floor-aware layers to control visualization in both MapView and SceneView. Once you have defined the floorInfo for a map or scene, you can use the FloorFilter widget to interactively filter your floor plan data. FloorFilter widget The Popup widget now dynamically displays content in the header and footer to handle longer strings. This can be seen when displaying action text with a lot of characters. Additionally, title and description properties were added for the Attachments, Fields, and Media content elements. The Directions widget now allows a Time Unspecified departure option. This uses the average travel time to calculate estimated travel durations. I don’t always take notes, but when I do, I take them in a map The MapNotesLayer can now be edited if it was created in the new Map Viewer. Map notes can be added, updated, and deleted - allowing you to easily sketch, add, remove, or update notes from any map, then persist your changes. Map notes created with Map Viewer Classic can be displayed, but the map notes cannot be modified or accessed with this class. https://developers.arcgis.com/javascript/latest/sample-code/layers-mapnoteslayer/ MapNotesLayer Rest easy with these new modules We've ported the majority of Tasks functionality to simple functional rest modules. This will make it easier to incorporate into a more modular app design, and also reduce unnecessary dependencies (you only import what you want). The next release will see the rest of the Tasks ported over, and then we will deprecate Tasks. https://developers.arcgis.com/javascript/latest/release-notes/ - rest-modules References Release Blog What’s New in ArcGIS API for JavaScript (4.19) 4.19 Release Notes https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html 4.19 Samples https://developers.arcgis.com/javascript/latest/sample-code/?tagged=4.19 3.36 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
... View more
04-22-2021
11:08 AM
|
1
|
5
|
3876
|
|
POST
|
Hi @Vakhtang_Zubiashvili, it's tough to say without seeing how you did it at 4.13, but my hunch is that the HTML sanitizer (which we introduced at 4.14) is the issue here: The HTML sanitizer was added to all widgets to sanitize and escape strings according to the ArcGIS Online supported HTML specification. This can cause HTML set in PopupTemplate.content or in other widgets to be removed. https://developers.arcgis.com/javascript/latest/4.14/#breaking-changes If this is the case, the alternative solution would be to use custom functions. Here is a blog post that details the issue and the workaround: https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/using-html-with-popups-in-the-arcgis-api-for-javascript/ If this doesn't work for you, can you share some more details? I'd like to see how you are trying to do it at 4.18 (which worked at 4.13). A sample app on someplace like Codepen would be great.
... View more
04-12-2021
09:45 AM
|
0
|
1
|
3935
|
|
POST
|
Hi @yersenokan, it's difficult to tell without more information. One thing I notice is that the workspaceId is not defined in the code snippet. Do you have a simplified app that shows the issue? If you could share a link to a Codepen, that would be very useful. For other resources, the doc on QueryTable might be useful: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#QueryTableDataSource And this sample shows how it looks in action: https://developers.arcgis.com/javascript/latest/sample-code/layers-dynamicdatalayer-query-table/
... View more
04-12-2021
09:28 AM
|
0
|
0
|
1683
|
|
POST
|
Hi @JimBambrough, yes, this is by design. We use a deconfliction strategy to reduce the amount of visual clutter so that only some labels are displayed to make them easier to read when there are many features present. This is a configurable property as of 4.16, so you can try setting it to "none" and see if that works for you. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#deconflictionStrategy
... View more
04-08-2021
08:32 AM
|
0
|
0
|
1823
|
|
POST
|
One option is that the default value of "this" inside the "before" function is the interceptor object itself. It looks like "const" also has scope inside the "before" function. Does that sound useful? Example: https://codepen.io/noash/pen/ZELpXBG?editors=1000 If not, it would be easier to have a simplified repro case to diagnose. I'd like to see how you are currently using bind.
... View more
03-29-2021
11:34 AM
|
0
|
1
|
3224
|
|
POST
|
Ok, I think I understand better now. I don't know an answer off the top of my hand, but I will look into it.
... View more
03-29-2021
10:57 AM
|
1
|
2
|
3232
|
|
POST
|
I think it might be possible to save it as a feature collection, but I don't know how "smart" it would be. We've been actively working on this.
... View more
03-29-2021
10:19 AM
|
0
|
0
|
1414
|
|
POST
|
Hi @DanMori, I'm not sure what the issue could be. Have you tested your app against the default print service to see if the issue is with the custom print service? "https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" Could you share a simple repro case on something like Codepen so I can take a look?
... View more
03-29-2021
10:09 AM
|
0
|
0
|
1257
|
|
POST
|
Hi @RobBoothIBM, currently, we do not support saving the RouteLayer yet with 4x. This functionality is under active development, and should be coming soon.
... View more
03-26-2021
03:14 PM
|
0
|
0
|
1427
|
|
POST
|
@RobertScheitlin__GISP - I'm not sure I understand. Are you asking for how to send two or more parameters to the before/after functions?
... View more
03-26-2021
03:01 PM
|
0
|
4
|
3247
|
|
POST
|
Hello there @WaelYoussef, you might want to start here: https://developers.arcgis.com/documentation/mapping-apis-and-location-services/ This will help you understand the possibilities and the capabilities for the work you are doing, and help you choose the best product.
... View more
03-18-2021
02:58 PM
|
1
|
0
|
996
|
|
POST
|
Hi @YObaidat , my apologies as I did not see the message from 2 weeks ago. Thank you for the video, as I was concerned about the http vs https and different browser behavior. I did some more digging and we are aware of this issue, and we're working on a fix for a future release. In the meantime, you could try pointing to a local font resource using this property, so it no longer looks online for the font: https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl
... View more
03-12-2021
08:48 AM
|
0
|
2
|
4596
|
|
POST
|
I think that would be appropriate. I know it gets complicated sometimes. Thanks.
... View more
03-09-2021
10:34 AM
|
0
|
0
|
2090
|
|
POST
|
Are you still facing this issue? I cannot speak for the Web AppBuilder, but I believed we fixed this issue with the ArcGIS API for JavaScript back at 4.14: https://developers.arcgis.com/javascript/latest/4.14/#bug-fixes-and-enhancements
... View more
03-09-2021
10:19 AM
|
0
|
2
|
2093
|
|
POST
|
We are considering this for a future enhancement of the Print widget. In the meantime: Would templateOptions suffice for this use case? https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print.html#templateOptions If not, it looks like the print() method on the ViewModel can pass a PrintTemplate: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#print
... View more
03-09-2021
09:20 AM
|
0
|
0
|
1865
|
| 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 |
Offline
|
| Date Last Visited |
Wednesday
|