|
POST
|
Hi @CarlVricella, thanks for posting your question here. It would be easier to diagnose with a simplified reproducible test case. However, here are a couple questions to help diagnose: 1) Is the MapImageLayer being sent to the print service? You can check this is the JSON request sent to the print service. 2) The current version of the API is 4.27. Does this issue still occur with 4.27? Did it work with a previous version of the API?
... View more
09-19-2023
08:40 AM
|
0
|
0
|
689
|
|
POST
|
Hi @JulioPereira, thanks for the question. It looks like the SceneView.toScreen() method https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#toScreen takes a point geometry and returns a ScreenPoint https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#ScreenPoint which does not have a z-value. So it seems like the current behavior is by design.
... View more
09-07-2023
08:53 AM
|
0
|
1
|
923
|
|
POST
|
Hey @mukecz1, that's good sleuthing. The popup is indeed related. Looks like a legit bug. We'll get to work on it, and I'll update this post when we have an update to share.
... View more
07-19-2023
11:49 AM
|
1
|
0
|
5712
|
|
POST
|
Hi @mukecz1, thanks for posting your question here. I think the issue is related to the featureLayer being created on the fly. I see that the error is thrown in the console, but the Search widget seems to work fine. Can you try creating the layer in a separate function, and then pushing each layer source?
... View more
07-14-2023
07:30 AM
|
2
|
2
|
5771
|
|
POST
|
Hey @FlavieMoraux. Unfortunately, it's still a known limitation at this time, and I can't speak to what the future holds. If you want to submit an Idea, that might help as well. https://community.esri.com/t5/custom/page/page-id/arcgis-ideas
... View more
07-07-2023
07:21 AM
|
0
|
1
|
1699
|
|
POST
|
Hi @andrei_ste. As of 4.27, woff2 will work in 3D SceneViews: https://developers.arcgis.com/javascript/latest/labeling/#fonts For 2D MapViews, here are the steps that will export fonts to pbf format using ArcGIS Pro: 1) Install the font 2) Author a small map in Pro and use the font for labels 3) Create a VTPK 4) Unzip it and pull the font out
... View more
06-26-2023
07:15 AM
|
0
|
1
|
849
|
|
BLOG
|
Hear ye, hear ye! The ArcGIS Maps SDK for JavaScript has released version 4.27. We know there are many releases like it, but this one is special. We fixed 35 bugs, made 10 enhancements, and added or updated 8 samples. Are we related? Support for editing personal relationships relationship data has arrived with the ability to edit related data via the Editor widget. The relationship element provides the functionality needed to configure the relationship within the FormTemplate. These elements must be saved within the form for the Editor to support editing related data. This can be accomplished via the Map Viewer or programmatically using the ArcGIS Maps SDK for JavaScript. https://developers.arcgis.com/javascript/latest/release-notes/ - editing-related-records Scene but not heard Upload and share 3D content through the web using new scene layer editing capabilities (released in beta). 3D models from various formats can be uploaded and placed using out-of-the-box Editor widget workflows. For example, buildings in a 3D object scene layer can be added, updated, or deleted directly on the web. https://developers.arcgis.com/javascript/latest/release-notes/ - 3d-updates A widget without a view The new Features widget (which is released in beta, and should not be confused with the old Feature widget) allows users to interact with a feature's PopupTemplate content without having to be tied to the view. What? It’s true! This widget looks and behaves similarly to a popup, however unlike popup, the Features widget can be placed outside of the view. So cool. https://developers.arcgis.com/javascript/latest/sample-code/widgets-features/ Three Dee Topography With the 3D Topographic basemap (released in beta, yes, lots of things are released in beta this release) we now offer curated 3D context and style for your scenes and for ours. The new basemap contains globally available buildings, trees, and labels. Which is pretty sweet. 3D basemaps can be selected directly in the BasemapGallery when used with SceneView. You can also load the 3D Topographic basemap portal item programmatically by referencing its item id. https://developers.arcgis.com/javascript/latest/sample-code/widgets-basemapgallery/ Forgetting the team, building the symbols The really sweet and freshly updated Symbol Builder app provides a UI for creating any symbol in the ArcGIS Maps SDK for JavaScript… and a snippet you can copy into your code! This app is replacing the retired Cymbal Symbol Playground. We sent the Symbol Playground out to pasture with the breaking changes. Built with Calcite, React, love, and of course the ArcGIS Maps SDK for JavaScript. Not released in beta. https://developers.arcgis.com/javascript/latest/visualization/symbols-color-ramps/symbol-builder/ More better labeling for SceneView Label priority has been updated to prefer showing labels with larger fonts when they conflict with smaller ones, and to prioritize labels closer to the viewer. Labels are generally crisper on High-DPI displays and vector tile labels are no longer cut-off at tile borders. Furthermore, SceneView is now consistent with MapView by supporting custom fonts loaded from static resources (SceneView can now load fonts from static in .woff2 format). These fonts can be used to specify the font family and other attributes, without custom CSS. https://developers.arcgis.com/javascript/latest/sample-code/visualization-label-callout/ Adding value ValuePicker is a widget that allows users to shop for better values at a store or restaurant step or play through a list of values. It can be configured with an optional collection, label, combobox, or slider control to help users navigate values. It is important to note that the ValuePicker widget is not associated with a view (more no view required??) nor does it necessarily require data. All it needs is love. https://developers.arcgis.com/javascript/latest/sample-code/widgets-valuepicker/ Oh, the places (beta) you’ll probably go! Places, also known as points of interest (POIs), are just physical spaces with agreed upon names. But in this context, places are businesses and geographic locations that one can discover around the world. One could even visit them maybe. Use the places service (which is also released in beta) to find nearby places within a search distance of a geographic point, and to find more information about specific places. However, this is not for everybody. You can only access the places service if you have an ArcGIS Developer account; ArcGIS Online accounts are not supported. https://developers.arcgis.com/javascript/latest/sample-code/places/ Networking utilitarian The UtilityNetworkValidateTopology widget allows a user to validate the network topology of a utility network after there have been edits to features in the utility network. To use this widget, the dirty areas layer must be available on the map. The out-of-date edits in the network topology are marked with dirty areas, signaling that the feature visible on the map does not match what is stored in the network topology. The widget can validate the current extent of the view or the entire utility network. UtilityNetworkTrace also got some really good enhancements. https://developers.arcgis.com/javascript/latest/release-notes/ - utility-network Positive effects of labeling Many people found our Labeling guide page super useful and enjoyable, but we also got some feedback saying that it could be even more useful and enjoyable. And so, the labeling guide was updated with more information and/or better content. https://developers.arcgis.com/javascript/latest/labeling/ And more? There’s so much more to learn about the 4.27 release of the ArcGIS Maps SDK for JavaScript. We’ve got performance updates, more layer updates, more and more widget updates. And even more. https://developers.arcgis.com/javascript/latest/release-notes/ Bolder (Web maps make me bolder) Disclaimer: The views and opinions expressed in the below song parody are those of the author and do not necessarily reflect the official policy or position of Esri, or any of its affiliates. Any rebroadcast, retransmission, or recounting of this song, without the express written consent of Esri, is prohibited. Oi, They never have time to deprecate you Breaking changes are an issue Update’s okay Oi, The release It was nice this Monday And I know we can release it all again I know you can edit a related record Proves you’re modern and not a participation award Oi, 4x ain’t cringe, And editing ain’t no longer fringe And I-I-I-I-I chant Jack (Jack, Jack, Jack) Yeah I-I-I-I-I chant Jack Web maps make be bolder To give 3x the cold shoulder Update to 4.27 To be a Symbol Builder beholder Better labeling exposure Update now, and Go tell your stakeholder(s) Hosted fonts on static folder Hosted fonts on static folder Hosted fonts on static folder Your Performance is as good as the day I met you You improve it at every release too You made my day Hey Let’s all update to the latest version More enhancement dispersion is Okay You know scene layers can edit Check the beta tag But still give us credit Update to 4.27 Now your app’s happy Like it’s in heaven and And I-I-I-I-I chant Jack (Jack, Jack, Jack) Yeah I-I-I-I-I chant Jack Web maps make be bolder To give 3x the cold shoulder Update to 4.27 To be a Symbol Builder beholder Better labeling exposure Update now, and Go tell your stakeholder(s) Pizza’s worser when it’s colder Pizza’s worser when it’s colder It’s more tasty when it smolders Pizza’s worser when it’s colder Web maps make be bolder To give 3x the cold shoulder Update to 4.27 To be a Symbol Builder beholder Better labeling exposure Update now, and Go tell your stakeholder(s) Hosted fonts on static folder Hosted fonts on static folder Hosted fonts on static folder Pizza’s worser when it’s colder Pizza’s worser when it’s colder Pizza’s worser when it’s colder Pizza’s worser when it’s colder It’s more tasty when it smolders Pizza’s worser when it’s colder Credits Release Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-arcgis-maps-sdk-for-javascript-4-27/ 4.27 Release Notes https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html 4.27 Samples https://developers.arcgis.com/javascript/latest/sample-code/?tagged=4.27 Breaking Changes across all 4x releases https://developers.arcgis.com/javascript/latest/guide/breaking-changes/index.html Parody Song inspiration https://www.youtube.com/watch?v=i-N43gWIFFo&list=RDMM&index=2 Song inspiration https://en.wikipedia.org/wiki/Closer_(The_Chainsmokers_song) Fair use and Parody law https://en.wikipedia.org/wiki/Fair_use
... View more
06-12-2023
08:49 AM
|
6
|
3
|
1782
|
|
BLOG
|
At version 4.24, the old workflow of creating a Directions widget without a RouteLayer was deprecated, and will be a breaking change at version 4.27, due to arrive in June 2023. https://developers.arcgis.com/javascript/latest/4.24/#routing See the Directions widget sample for how it looks to create a Directions widget with a RouteLayer. https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-directions Directions widget code snippet with RouteLayer: Also at version 4.24, we deprecated several properties on the Directions widget and DirectionsViewModel. We typically remove deprecated things after 3 or more releases. At version 4.27, we are removing the following deprecated properties. This is a breaking change. The replacement to use is listed alongside the deprecated property. Version Deprecated Property Replacement Version Removed 4.24 Directions.routeServiceUrl RouteLayer.url via Directions.layer 4.27 4.24 Directions.routeSymbol RouteSymbols.directionLines via Directions.layer 4.27 4.24 Directions.stopSymbols RouteStopSymbols via Directions.layer 4.27 4.24 DirectionsViewModel.highlightSegment DirectionsViewModel.highlight 4.27 4.24 DirectionsViewModel.routeServiceUrl RouteLayer.url via DirectionsViewModel.layer 4.27 4.24 DirectionsViewModel.routeSymbol RouteSymbols.directionLines via DirectionsViewModel.layer 4.27 4.24 DirectionsViewModel.stops RouteLayer.stops via DirectionsViewModel.layer 4.27 4.24 DirectionsViewModel.stopSymbols RouteStopSymbols via DirectionsViewModel.layer 4.27
... View more
05-31-2023
06:04 AM
|
2
|
0
|
777
|
|
POST
|
@imritanshu is correct in that you are mixing 2D-specific widgets with a 3D SceneView sample. Most widgets work in both 2D and 3D, but not all. https://developers.arcgis.com/javascript/latest/maps-and-views/ Here is a 2D example of the measurement widgets working with the BasemapGallery widget: https://codepen.io/noash/pen/dygjwMq?editors=1000
... View more
05-15-2023
07:10 AM
|
1
|
0
|
1497
|
|
POST
|
Hi @patryks, thank you for posting your question here. I think there is some confusion over the term API key. An API key is used primarily for location services. It can also access private items in a portal. https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/ We also discuss best practices for accessing secure or private content with the ArcGIS Maps SDK for JavaScript. https://developers.arcgis.com/javascript/latest/secure-resources/ However, the cause of the issue you're seeing could be because a FeatureLayer can be published to a portal, but because a MapImageLayer is server-side, it must be published to Enterprise, and then it can be shared to a portal. So that may be why MapImageLayer and Sublayer do not have an apiKey property, but FeatureLayer does. I would recommend looking at the guide page for tips on working with a secured MapImageLayer.
... View more
05-01-2023
07:57 AM
|
1
|
1
|
1489
|
|
POST
|
Hi @MichaelWen_Timmons, thanks for posting your question here. What I think is happening is that some layers are sent by screenshot to the print service, and others are being sent by layer. This is why you see that long image data string in the request. When layers are sent by screenshot to the print service, they do not display in the printed legend. We have this documented, along with what cases are sent via screenshot, here: https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html However, if you are able to pan the map and print again, and it all prints fine that time, then there is something interesting going on. I have not encountered this before, but if you could share a simplified reproducible test app, I could take a look. If not, I would recommend checking the status of the newly added features and making sure it's loaded properly. Something like a console.log statement to see if it's loaded, and then check after panning the map again.
... View more
04-18-2023
05:46 AM
|
0
|
0
|
777
|
|
POST
|
Hi @nevvo, thanks for posting your question here. I looked at the downloaded 4.25 init.js, and it looks like ./core/accessorSupport/decorators/cast should be included. Is there a simplified repro app you can share for testing? Can you try running the app with 4.26? And also downloading 4.26 and testing with that to see if it works?
... View more
04-07-2023
06:39 AM
|
0
|
1
|
949
|
|
POST
|
Hey @colelwhite, thanks for posting your question here. What specific indigenous language are you wanting to label?
... View more
04-05-2023
12:45 PM
|
0
|
0
|
713
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-10-2024 09:02 AM | |
| 1 | 11-14-2025 08:10 AM | |
| 1 | 11-06-2025 08:40 AM | |
| 1 | 10-23-2025 01:51 PM | |
| 5 | 10-21-2025 07:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|