|
POST
|
Hi @EngMohammadAmrat, not 100% sure, but it looks like you can package a tpkx file specifically to host in AGO for tiled basemaps: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-map-tile-package.htm#:~:text=Specifies%20whether%20the%20tiling%20scheme%20will%20be%20generated%20from%20an%20existing%20map%20service%20or%20the%20map%20tiles%20will%20be%20generated%20for%20ArcGIS%20Online%2C
... View more
03-18-2025
09:31 AM
|
0
|
0
|
372
|
|
POST
|
Hi @dstoick, can you test again with 4.32? We released a new version recently.
... View more
03-18-2025
09:23 AM
|
0
|
0
|
294
|
|
POST
|
Hi @SreenivasaRaoPigili, thanks for posting your question here. Pro is a desktop application, and the ArcGIS Maps SDK for JavaScript is for making web applications, so they have different resources and capabilities. As such, Calcite is designed to work with web applications: https://developers.arcgis.com/calcite-design-system/get-started/ For help with ArcGIS Pro, I would recommend posting in the Pro space: https://community.esri.com/t5/arcgis-pro-questions/bd-p/arcgis-pro-questions For JS SDK functionality, I would recommend search through our samples and/or tutorials to see what you are looking for: https://developers.arcgis.com/javascript/latest/sample-code/ https://developers.arcgis.com/javascript/latest/tutorials/
... View more
03-18-2025
09:13 AM
|
0
|
0
|
369
|
|
POST
|
Hi @GertConradie, thanks for the question here. Correct, clipping is not available in the print task. I think part of the confusion comes from the naming convention. MapServer has a Export method to export an image of the service, and Printing is actually called ExportWebMap that consumes a printing service publishing from ArcGIS Pro, and can consume images of data and/or actual layer data. They are two completely different methods.
... View more
03-18-2025
09:08 AM
|
0
|
1
|
295
|
|
POST
|
Hi @Jakar, thanks for posting your issue here. Looking at the app and the layers in the MapServer, I'm having trouble understanding the issue. Can you share more information about what you're doing and seeing and expecting with specific layers or features? Feel free to message me directly if you prefer.
... View more
03-18-2025
09:02 AM
|
0
|
0
|
260
|
|
POST
|
@GeoGalvanic - another option is to define the routing service to be used. By default it uses AGO. You should define this property in your app: https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#routeServiceUrl
... View more
03-04-2025
07:44 AM
|
1
|
0
|
494
|
|
POST
|
@GeoGalvanic - For routing, I believe the default services use ArcGIS Online. So if you do not define a portal, that is what will be used. For an enterprise workflow, I would recommend setting the portal in your app. Let us know if you still run into issues!
... View more
03-03-2025
08:55 AM
|
0
|
0
|
539
|
|
BLOG
|
Version 4.32 is here. There are bug fixes, enhancements, and new functionality. By the numbers: we fixed 23 bugs, made 17 enhancements, added or updated 21 samples, and optimized 12 components. Components. What are components? As the kids say, IYKYK, which loosely translates to, “If you get it, you get it”. Let’s break it down a bit (skip ahead if you’re already in the know). Components are a better way to reuse code, and can also be a better way to code. Here’s an agnostic source to reference: https://developer.mozilla.org/en-US/docs/Web/API/Web_components Here’s a really handy migration page that documents helpful concepts: https://developers.arcgis.com/javascript/latest/migrating-to-components/ Here’s the transition guide to help move from widgets to components: https://developers.arcgis.com/javascript/latest/components-transition-plan/ And, we have a really awesome blog post coming soon from @JuliePowell that I will share a link to here after it gets posted on the ArcGIS Blog site: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/javascript-maps-sdk-a-full-transition-to-components/ You can also go to the Tutorials and discover how many of them we migrated to use components: https://developers.arcgis.com/javascript/latest/tutorials/ Want something beefier than a tutorial? Check out how many samples we got updated too: https://developers.arcgis.com/javascript/latest/sample-code/?tagged=map-components Oh I know, you’re like what’s up with the SDK Reference? Well, we put the Core API and the Components on the same page. Pretty handy, right? So much easier and nicer. Thanks Lloyd. Display filters. You want like the power of a definition expression, but to only affect the visibility on the map and not the filter the data from the source? That’s what a display filter is for. It’s new and it’s fabulous (and yes, it is now supported by the print service). https://developers.arcgis.com/javascript/latest/sample-code/display-filter/ New highlights, no lowlights. Features can now be highlighted with different colors based on stuff. Used to be only one, now it can be more. https://developers.arcgis.com/javascript/latest/release-notes/#enhanced-highlights-api Tracking. We all have histories. Especially time aware layers. Visit or revisit those histories across time and space (and no, not currently supported by the print service). https://developers.arcgis.com/javascript/latest/release-notes/#track-rendering-beta Heading in the right Directions. Directions UI is updated with Calcite. Can now add/move/delete stops and polyline barriers. There’s probably a really good official blog post about this coming out soon; I will link to it here later. https://developers.arcgis.com/javascript/latest/sample-code/widgets-directions/ Knowledge Graphs and Web Link Charts. Knowledge graphs allow you to model real-world systems that connects both spatial and nonspatial data. Also included are knowledge graph layers, which represent knowledge graph data on a map to enhance visualization and analysis. Additionally, web link charts contain a link chart layer with the data from your knowledge graph and are loaded in a link chart view. Web link charts are a new view (like MapView and SceneView) that is specifically for visualization knowledge graphs. https://developers.arcgis.com/javascript/latest/release-notes/#knowledge-graphs-and-web-link-charts Editing has only one “t”. Editting is the sort of word I misspell constantly. But wow, the Editing team installed some heavy work this release. Like enhancing workflows to accommodate layers and sublayers and types and subtypes and sublayers of subtypes and like group tables, oh my... You can share editing templates now, you can use the new drawing toolbar in the Editor widget, and there’s even snappy support for those new display filters. AND YOU CAN ADD AND/OR DELETE UTILITY NETWORK ASSOCIATIONS NOW?! I just read through the release notes and I can’t believe how much work we got done. Take a look. https://developers.arcgis.com/javascript/latest/release-notes/#editing Operating geometrically. Those smooth geometry operators that came out in beta at 4.31 and coming out of beta at 4.32. We have a guide page for them. Essentially, did you use geometry engine? Then please read this because you’ll want to migrate… smoothly. https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/ Tired of reading this? Understandable, we released a lot. But, there are a still a TON of more updates at 4.32. As an example, here is what is left in the TOC from the release notes that we haven’t covered yet: Head to the release notes to learn more. https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html References. Release Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/whats-new-in-arcgis-maps-for-javascript-4-32/ 4.32 Release Notes https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html 4.32 Samples https://developers.arcgis.com/javascript/latest/sample-code/?tagged=4.32 Tips for migrating to Components https://developers.arcgis.com/javascript/latest/migrating-to-components/ Blog for migrating to Components https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/javascript-maps-sdk-a-full-transition-to-components/ Breaking Changes across all 4x releases https://developers.arcgis.com/javascript/latest/guide/breaking-changes/index.html
... View more
02-24-2025
12:57 PM
|
7
|
3
|
1663
|
|
POST
|
Hi @Justin_Greco, we may have found the issue. The "key" should be a unique identifier for the suggestion. Currently, the sample needs to be updated to reflect this (coming soon). If you modify line 79 of the sample to be be a unique identifier, it seems to work as expected for me. Can you test in your app? Test-app https://codepen.io/noash/pen/dPypPKG?editors=1010 Images of before and after of code from sample attached.
... View more
02-24-2025
11:54 AM
|
0
|
1
|
900
|
|
POST
|
Thanks for reporting, and for testing so quickly @Justin_Greco. I see the behavior in the sample. We are investigating.
... View more
02-24-2025
11:08 AM
|
0
|
0
|
908
|
|
BLOG
|
Version 4.31 is here, and it’s so good. There are bug fixes, enhancements, and new functionality. But make sure you’re sitting down, because it’s a lot. By the numbers: we fixed 65 bugs, made 19 enhancements, and added or updated 29 samples.
Component enhancements
What are components? Components are reusable custom elements that can be used in one or more web applications. They can make writing apps easier (fewer lines of code) and are designed to work well with frameworks. They’re pretty cool, pretty modern, and we made ours better. If you haven’t checked them out yet, or if you’re feeling down and want to take your mind off things, then today is the perfect opportunity to check out our component enhancements.
https://developers.arcgis.com/javascript/latest/release-notes/ - component-enhancements
SceneView Icon Rotation
Speaking of cool and modern, you can now rotate 2D billboarded icons within a 3D SceneView.
https://developers.arcgis.com/javascript/latest/sample-code/visualization-icon-rotation-3d/
Featuring the FeatureTable
Unlike my favorite professional sports team, the FeatureTable got a lot of love recently. First, you can now export selected records to a CSV file. Note that geometry information is only included for point geometries. You can also view and modify attachments, support pagination (multiple pages), edit subtype values, configure and persist display settings, and (maybe? probably?) more.
https://developers.arcgis.com/javascript/latest/sample-code/?tagged=TableTemplate
Animated symbols
If the above topic was too serious for some readers, consider the new CIMSymbol symbol animations (in beta).
https://developers.arcgis.com/javascript/latest/sample-code/cim-animations/
Aggregation Aggravations?
Back in the day, only point geometries could be aggregated into clusters and bins. Now, we are open to both polygon and polyline geometries being aggregated. It’s a new day.
https://developers.arcgis.com/javascript/latest/release-notes/ - polyline-and-polygon-geometries-can-now-be-aggregated-to-bins-and-clusters
Smooth Geometry Operators
Unlike telephone operators, the Geometry operators are new, helpful for working with the ArcGIS Maps SDK for JavaScript, and currently available in beta. These are the eventual replacements for the GeometryEngine. The new operators include all the old hits from GeometryEngine, plus a few new ones.
https://developers.arcgis.com/javascript/latest/release-notes/ - geometry-operators-beta
The Missing Link Chart
A link chart visually represents all or part of a knowledge graph. A knowledge graph allows you to create a model that simulates a real-world system in a nonspatial manner, in ArcGIS Enterprise using ArcGIS Pro. But now you can add link charts to an app using a variety of methods, which is nice.
https://developers.arcgis.com/javascript/latest/release-notes/ - link-chart
Scene Saving
SceneLayer, BuildingSceneLayer, IntegratedMeshLayer, and PointCloudLayer can now be saved to a portal item in ArcGIS Online and/or ArcGIS Enterprise. Before 4.31, you couldn’t do this. This is also true for OrientedImageryLayer, but that’s a 2D and a 3D thing.
https://developers.arcgis.com/javascript/latest/release-notes/ - layer-updates
High Visibility Areas
MapView and SceneView now have a visibleArea property, providing access to the visible portion of the map as a Polygon that can be inset into the app. The polygon is a 2D approximation of the 3D frustum projected onto the ground surface.
https://developers.arcgis.com/javascript/latest/release-notes/ - mapview-and-sceneview-visible-area
Is There More?
Yes, a lot more. Check out the full Release Notes and the Release Blog to learn more.
MapView Go To Me (Too Sweet parody)
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.
It can’t be said I’m immutable
New link charts are so beautiful
User, I can never tell
How do you code so well?
You keep telling me to update
The new components, they just work so great
But then the old stuff needs to deprecate
You don’t gotta write view dot when
Maybe just use dot then
Don’t you just want a print-out, without a Server?
Upload to a portal, lost in fervor?
If you’re outsourcing work, user, I think it’s great
But while we’re at 4.31
I think I’ll take my labels neat
My 3D icons, and my rotating
//MapView go to me
MapView.goTo(me);
I take my labels neat
My 3D icons, and my rotating
//MapView go to me
MapView.goTo(me);
FeatureTable
And edit related records are enabled
Feature on the map and then I apply a label
And the task gets done
But you’ll debug some, I know
But who wants to work forever, right?
AI’s coming in the dead of night
Now I know why they call it smart mapping
Symbol animations come along
User, don’t get me wrong
You know SceneView supports time,
as well as viewshed,
not only points support clusters,
Geometry operators are great
If you can npm install me, maybe I’ll await
Until that date
I’d rather take my labels neat
My 3D icons, and my rotating
//MapView go to me
MapView.goTo(me);
I take my labels neat
My 3D icons, and my rotating
//MapView go to me
MapView.goTo(me);
I take my labels neat
My 3D icons, and my rotating
//MapView go to me
MapView.goTo(me);
References
Release Blog
https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-arcgis-maps-sdk-for-javascript-4-31/
4.31 Release Notes
https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html
4.31 Samples
https://developers.arcgis.com/javascript/latest/sample-code/?tagged=4.31
Breaking Changes across all 4x releases
https://developers.arcgis.com/javascript/latest/guide/breaking-changes/index.html
Song inspiration
https://www.youtube.com/watch?v=aezstCBHOPQ
Fair use and Parody law
https://en.wikipedia.org/wiki/Fair_use
... View more
11-07-2024
07:42 AM
|
8
|
1
|
1220
|
|
POST
|
Hi @MarcoGianaLXRP, thanks for posting your question here. I have collected some information that will (hopefully) be useful. The ArcGIS Maps SDK for JavaScript ignores gamepad events if the app is hosted in an insecure context (e.g. via "http") Gamepads may not work as expected if using an online app sharing site like CodePen. This is because apps are hosted in an iFrame with additional security. A browser may need to be restarted if a new gamepad is connected to the computer. Due to new anti-fingerprinting provisions, gamepads are only discoverable after they are used (e.g. button pressed or joystick moved). Gamepad interaction is enabled by default in both MapView and SceneView. No coding is required to "fly" in 2D or 3D provided your app is hosted in a secure context. If more than one gamepad is connected to your computer then all gamepads are recognized and can be used to navigate. If more than one gamepad is connected to your computer, but you want a specific device to be used for navigation, then we recommend utilizing the view.input.gamepad.devices collection. This collection can be monitored for changes as gamepads are recognized by the browser. For example, if my computer has two gamepads connected, one standard and one spaceMouse gamepad, but I only want the spaceMouse to be used for navigation, then I can use the following snippet: const { devices } = view.input.gamepad;
devices.on("change", () => {
const spaceMouse = devices.find(({ deviceType }) => deviceType === "spacemouse");
// Assign the spacemouse (if any)
view.navigation.gamepad.device = spaceMouse;
// Only enable gamepad navigation if a spacemouse is found.
view.navigation.gamepad.enabled = !!spaceMouse;
}); Hope this helps!
... View more
09-11-2024
12:14 PM
|
0
|
0
|
1242
|
|
IDEA
|
07-08-2024
11:12 AM
|
0
|
0
|
580
|
|
POST
|
Hi @Stuart-Harlan, I tested today with samples from 4.29 and I do not see any flickering. Can you test with 4.29 as well? And can you record the flickering you are seeing using a hosted sample? My testing: Edge 124.0.2478.104 Android 14 https://developers.arcgis.com/javascript/latest/sample-code/
... View more
05-15-2024
07:15 AM
|
0
|
1
|
3625
|
|
POST
|
@Wade - couple things to consider here. 1. are you sure all the relevant requests are going through the proxy? 2. do you have to use a proxy? we do have other workflows for security: https://developers.arcgis.com/javascript/latest/secure-resources/ 3. in the webmap_as_json sent to the print service, do you see any token or anything being passed in the request?
... View more
05-14-2024
07:46 AM
|
0
|
1
|
876
|
| 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 |
Wednesday
|