|
POST
|
Hi @nabaz-gharib, thank you for sharing your feedback here. Can you tell me which font family you choose in ArcGIS Pro, and which font family you see when you open the same map in the Map Viewer in ArcGIS Online?
... View more
03-28-2022
10:25 AM
|
0
|
6
|
2935
|
|
POST
|
Hi @Tarunvisvanadula1994, I think the code you posted looks right, but are you sure that the custom text elements you write in the app exactly match those that were published with your custom print service? Do you see them getting sent properly in the print requests in the network traffic?
... View more
03-28-2022
10:09 AM
|
0
|
0
|
1129
|
|
BLOG
|
Preamble Today, we are pleased to release versions 4.23 and 3.40 of the ArcGIS API for JavaScript. Here are some of the 4.23 highlights (please refer to the 3.40 link at the end for 3.x updates). We also snuck in a hidden track towards the end of this blog, if you're into that sort of thing. We fixed 25 bugs, made 9 enhancements, and added or updated 16 samples. We also updated the versions of ArcGIS Arcade and Calcite that are packaged with the API. Main text Great 3D update 3D has a new renderer and a new widget. You can now bring in heatmaps with the HeatmapRenderer, as well as add different weather conditions with the new Weather widget. If you saw the 3D Mapping on the Web section of the 2022 Dev Summit plenary, then I know you’ll be excited about the new line style markers, labeling enhancements, and the virtual lighting. Note that a giant octopus is not a part of this release. Lastly, there are also new analysis objects to enhance your client-side analysis workflows, and the VoxelLayer is officially out of beta. https://developers.arcgis.com/javascript/latest/release-notes/#3d-updates Reconciling differences You can now switch the spatial reference of the MapView by changing the spatialReference property or by changing the basemap using the BasemapGallery or BasemapToggle widgets. https://developers.arcgis.com/javascript/latest/sample-code/basemaps-portal/ In the flow The FlowRenderer (formerly known as the Anne-imatedFlowRenderer) is out of beta. FlowRenderer now supports color, size, opacity visual variables, time-aware layers, smart mapping, printing, and webmap persistence. https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-FlowRenderer.html Fresh Editor widget The “edit fresh refresh” introduces an updated UI that contains SnappingControls and a selection tool. The updated UI streamlines the process for creating and updating features, along with batch feature creation, which allows you to create multiple features of the same type with similar attributes at once. https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-basic/ Routing’s very own layer RouteLayer is a new layer that provides routing analytics and route visualization in 2D MapViews. A RouteLayer consists of two or more stops, and optionally, barriers. Solved routes can be saved individually as an ArcGIS Online or Portal item, or as part of a webmap. https://developers.arcgis.com/javascript/latest/sample-code /layers-routelayer/ There’s more if you act now Update to 4.23 today and receive a slew of additional updates at no additional cost! Just imagine, an improved hitTest(), watching properties with reactiveUtils, OAuth updates, layer improvements, widget enhancements, better MapImageLayer labeling, printed legend support for tile layers, and so much more. And now, time for something completely different. Bonus Track Title: Bugs Hurt (feat. ArcGIS API for JavaScript version 4.23) 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 it's affiliates. [Intro] Why maps great, ’til they gotta be great woot [Verse 1] I just ran an integration test, turns out 4.23 is 100% that great Even when I’m breaking stuff Yeah, I got deprecations, that’s the engineer in me Console log, then I solve ‘em, that’s the developer in me You coulda had a modern web app, not too brittle Help you with your GIS career, just a little You’re supposed to update But you’re stuck on 3x? And that’s the sound, of me not using Flex [Chorus] Why maps great, ’til they gotta be great Don’t print them, display it straight to my face Esri Community sat me down in my home office Update to 4.23, so I don’t end up like a raphus Fresh Editor widget is a stout player New class with the 4x RouteLayer Bugs hurt, needed some more enhancements Bon bons be bonne, da bomb flambée [Verse 2] You tried to break my app? Oh that hurts, no cap That you thought I wouldn’t catch it I read release notes from the start Hey, I’m glad you’re working from home I mean who doesn’t love working alone? I will never ever ever ever miss a coffee break I put the java in javascript Ain’t worried ‘bout an app that’s ill-equipped So you can tell your coworkers: Take a break While you’re awaiting It’s OK, they’re already updating [Chorus] Why maps great, ’til they gotta be great Don’t print them, display it straight to my face Esri Community sat me down in my home office Update to 4.23, so I don’t end up like a raphus Fresh Editor widget is a stout player New class with the 4x RouteLayer Bugs hurt, needed some more enhancements Bon bons be bonne, da bomb flambée [Bridge] I’m gonna test it in 3D I don’t play tag, I watch it on TV Updates get conveyed API keys don’t get played We just keep it pushing like ArcGIS Arcade I’m gonna test it in 3D I don’t play tag, I watch it on TV Updates get conveyed API keys don’t get played We just keep it pushing like ArcGIS Arcade [Chorus] Why maps great, ’til they gotta be great Don’t print them, display it straight to my face Esri Community sat me down in my home office Update to 4.23, so I don’t end up like a raphus Fresh Editor widget is a stout player New class with the 4x RouteLayer Bugs hurt, needed some more enhancements Bon bons be on da bomb flambée References Release Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-arcgis-api-for-javascript-4-23/ RouteLayer Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/introducing-the-new-routelayer/ 4.23 Release Notes https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html 4.23 Samples https://developers.arcgis.com/javascript/latest/sample-code/?tagged=4.23 3.40 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 Truth Hurts Fair use and Parody law https://en.wikipedia.org/wiki/Fair_use
... View more
03-23-2022
10:42 AM
|
5
|
2
|
3747
|
|
POST
|
Hi @BrentGrossman. While it should be straightforward to hide this text via CSS, modifying it would be tricky. However, we are working on enhancements in this area, and should have a better story at a future release. Hope this helps.
... View more
03-22-2022
09:43 AM
|
1
|
0
|
759
|
|
POST
|
I don't think we promote using the Esri proxy anymore, but it looks like since you're calling from localhost over http, and the resources are accessible via https, that's the issue. If the app was hosted over https, then that might resolve the error.
... View more
03-22-2022
09:34 AM
|
0
|
0
|
888
|
|
POST
|
Can you find the appropriate request in the network traffic? There might be a resource that is being accessed locally that is being lost when moved to production or another environment.
... View more
03-22-2022
09:32 AM
|
0
|
0
|
913
|
|
POST
|
Hi @MichaelLev, are you trying to print the map? You could use print to handle printing, and pass in the desired center or extent using the view property of the PrintParameters. However, I'm not sure how the "offline" part figures in here.
... View more
03-22-2022
09:30 AM
|
0
|
0
|
1201
|
|
POST
|
Hi @ShefaliMantri, can you share a simplified test-app that reproduces the issue on something like codepen? That would really help to diagnose and triage what is occurring.
... View more
03-22-2022
09:17 AM
|
0
|
1
|
2244
|
|
POST
|
I don't have a specific use case to point you towards, but if you create a similar app in 4x, you should see a better print experience. https://developers.arcgis.com/javascript/latest/sample-code/widgets-print/
... View more
03-17-2022
08:10 AM
|
1
|
0
|
2762
|
|
POST
|
Hi @ADITYAKUMAR1, can you please provide a simplified test app that reproduces the issue? My hunch is that the scale is not being preserved, and the text symbols are not deconflicted. This is a use case that has been handled properly at 4x.
... View more
03-15-2022
07:57 AM
|
1
|
2
|
2773
|
|
POST
|
Hi @pragati224, a code snippet (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-04-2022
05:49 AM
|
0
|
1
|
2693
|
|
POST
|
Gotcha, good investigating. I'm not 100% sure, but hopefully this service update was shared in the relevant space(s). Glad you got the issue resolved.
... View more
03-02-2022
12:55 PM
|
0
|
1
|
2474
|
|
POST
|
Hi @ScottAndersonGQ, were you using an apiKey for authentication? Or where does this token come from? If you're using an apiKey, I would verify that the key is still functional and still has the correct settings enabled (e.g. Services and Allowed Referrers). I have a sample app that uses the same service for VRP, and it appears to be working normally.
... View more
03-02-2022
12:41 PM
|
0
|
3
|
2476
|
|
POST
|
Actually, you might be able to use PrintTemplate.layoutOptions.customTextElements https://developers.arcgis.com/javascript/3/jsapi/printtemplate-amd.html#layoutoptions I also found this post which looks relevant for your use case: https://gis.stackexchange.com/questions/72554/additional-parameters-for-printtask
... View more
02-24-2022
08:08 AM
|
0
|
1
|
2058
|
|
POST
|
Hi @LucasScharenbroich, looks like we'll have this fixed in the next release (4.23), which is expected in late March.
... View more
02-23-2022
08:31 AM
|
0
|
0
|
5462
|
| 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 |
48 seconds ago
|