|
IDEA
|
Thank you for the Idea @RudyProsser, unfortunately, this will not be implemented.
... View more
01-05-2023
12:07 PM
|
0
|
0
|
844
|
|
BLOG
|
I'd like to echo the gratitude expressed here, and add my heartfelt thanks and appreciation to our MVPs. I began my GIS career with Esri Forums, and am happy to see the spirit still continues today with Esri Community.
... View more
01-05-2023
12:06 PM
|
13
|
0
|
44050
|
|
POST
|
Hi @LeidavanHees, thanks for posting you question here. This should be possible if you update the position of the Search container. Try setting the position to "absolute" or "relative".
... View more
11-17-2022
12:33 PM
|
0
|
1
|
3031
|
|
POST
|
Hi @Justin_Greco, thanks for posting your question and your update here. I was able to test printing the uniqueValueGroups with both the Print widget and the print module. Both printed successfully with the ArcGIS Online print service (version 11.0), and with the Enterprise print service (version 10.9.1) that I obtained from the Support case. So while I'm not sure what the issue was, I am glad to hear that updating to 11.0 resolved the issue.
... View more
11-17-2022
11:01 AM
|
1
|
1
|
1132
|
|
BLOG
|
Preface When I was little, I dreamed of one day writing a geospatial web API release blog. But this isn’t a cooking/recipe blog, so let’s get started. Introduction Welcome to the release of versions 4.25 and 3.42 of the ArcGIS API for JavaScript. Here are some 4.25 highlights (please refer to the 3.42 link at the end for 3.x updates). I also inserted another song parody towards the end of this blog, if you're into that sort of thing. We fixed 34 bugs, made 19 enhancements, and added or updated 14 samples. Chapter 1. Ready to launch Cluster blockbuster We now allow you to override the default style of point clusters with either a dedicated cluster symbol or a renderer. By default, clusters are styled based on the layer's renderer so that the cluster symbol either represents the average value of the features in the cluster, or the most common category. https://developers.arcgis.com/javascript/latest/release-notes/ - custom-cluster-styles Related record scratch Displaying related records in Popups has never been easier (or possible) using the new RelationshipContent content type in PopupTemplate. When configuring RelationshipContent, the related layer or table must be added to the map. Support for editing related records will be added in a later release. https://developers.arcgis.com/javascript/latest/sample-code/popuptemplate-browse-related-records/ All three dimensions 4.25 offers some first-class SceneView updates as well. Drill deeper into the rich data of VoxelLayer with new properties. There are two approaches to conveniently display different isosurfaces. For continuous variables, you can define a transferFunction to apply normalized color or transparency stops. For discrete variables, you can set a color for each variable. Add dimensioning to display lengths and distances. LengthDimensions can be created interactively or programmatically. You can also save dimensions to a WebScene. Lastly, snap to existing features now in all three dimensions to derive complete x, y, and z coordinates from existing features. This also adds 3D Object and Building Scene Layers to available SnappingOptions. https://developers.arcgis.com/javascript/latest/release-notes/#3d-updates Chapter 2. Caesura Letter to the Editor The FeatureForm widget now allows you to access data from other layers. That means you can derive values based on another layer. The FeatureTable widget now supports deleting selected features via the deleteSelection method. For the method to be successful, there must be at least one selected row in the table, editingEnabled must be true, and the underlying data must support deletion. FeatureLayer was updated to propagate edits to other layers affected by a single edit. This means that edits to other layers that are a result of attribute rules or composite relationships will now cause the layers affected to refresh and render the updated features. Pretty sweet, right? https://developers.arcgis.com/javascript/latest/release-notes/#editing-updates Layer Potpourri We added support for ControlPointsGeoreference on MediaLayer. An image or video can now be positioned, scaled, and rotated with two control points. Additionally, it will be skewed with three control points. With four control points, a perspective transformation is applied to the element. https://developers.arcgis.com/javascript/latest/sample-code/layers-medialayer-control-points/ We enhanced MapImageLayer to highlight the selected feature when displaying its Popup. https://developers.arcgis.com/javascript/latest/sample-code/layers-dynamicdatalayer-table-join/ You can set multidimensionalSubset on ImageryLayer and ImageryTileLayer to expose only subset of dimensional slices that meet the requirements of the multidimensionalSubset. This release also adds beta support for adding Cloud Optimized GeoTiff (COG) files to an ImageryTileLayer via the URL property. COG files can take advantage of all the capabilities of ImageryTileLayer. CSVLayer and GeoJSONLayer can be loaded from csv and geojson portal items respectively by either setting portalItem.id on the layer or via Layer.fromPortalItem() method. A SubtypeGroupLayer can now be loaded from a WebMap published with a subtype group layer. Properties like the renderer will be respected for each sublayer when the layer is loaded from a web map. Additionally, the Legend widget added support for SubtypeGroupLayer. Open Access For increased accessibility, we made many improvements for better color contrasts in CSS themes, better use of ARIA roles and attributes, and various other changes. This makes both for a better experience with screen readers, but also for users in general. We plan to continue to improve accessibility in our API in upcoming releases. https://developers.arcgis.com/javascript/latest/release-notes/ - widget-updates Chapter 3. Penultimates If you’ve knowledge, you’ve knowledge KnowledgeGraphService (beta) is a new class that connects to existing ArcGIS Enterprise knowledge graph services. A knowledge graph service is composed of a knowledge graph, which contains entities and relationships and the data model that defines the entity types and relationship types in the graph. A knowledge graph service allows users to search, query, and edit the knowledge graph. https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraphService.html Bloggers There are many wonderful contributions that help explain or showcase concepts related to the ArcGIS API for JavaScript. To emphasize these efforts, we've created a new Blogs page that offers a curated list of relevant blogs organized by concepts. Within each concept, there is a list of blogs ordered by the corresponding version of the ArcGIS API for JavaScript at publication, with publication dates, and links to read the actual blogs. You can access this new page at the top right of the navigation bar. https://developers.arcgis.com/javascript/latest/blogs/ Package undeliverable The CDN on js.arcgis.com will no longer host the following AMD packages for version 4.25 and later: dgrid, dijit, dojo, dojox, dstore, and tslib. API versions 4.24 and earlier will continue to include the packages. The Dojo loader will continue to be included, to allow for AMD support in the browser. Post Script Can I, can I put you on something like “This is the ArcGIS API for JavaScript”, Take four, point, twenty, five Do you like, the ArcGIS API for JavaScript? I like the ArcGIS API for JavaScript. Don’t you like the ArcGIS API for JavaScript, Customer? I want to browse related records I want them in a popup I want to browse related records Customer Why use the new knowledge graph service? I used the new knowledge graph service Do you use entity-centric relationship data modeling and analysis Customer? MapImageLayer popups, they now highlight But every time I load hundreds of MapImageLayers at night They render so fast They render so fast Oh-oh, oh-oh, oh-oh I need to load CSV and GeoJSON layers from a portal item, Would you like to be able to try some? Need to update to 4.25 Customer They didn’t like the ArcGIS API for JavaScript They never used the ArcGIS API for JavaScript They didn’t know that we made many accessibility improvements Customer You’re born to read, I was born to write But those JavaScript blogs are hard to find when the time is right It reminds me of the new Blogs page (do you like the ArcGIS API for JavaScript?) It reminds me of the new Blogs page (do you like the ArcGIS API for JavaScript?) It reminds me of the new Blogs page Oh-oh, oh-oh, oh-oh Do you like, the ArcGIS API for JavaScript? (We like the ArcGIS API for JavaScript) I like the ArcGIS API for JavaScript Customer Do you like, the ArcGIS API for JavaScript? (We like all kinds of JavaScript APIs) But I like the ArcGIS API for JavaScript best Customer You’re born to read, I was born to write But those JavaScript blogs are hard to find when the time is right It reminds me of the new Blogs page (do you like the ArcGIS API for JavaScript?) It reminds me of the new Blogs page (do you like the ArcGIS API for JavaScript?) Acknowledgements Release Blog https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-arcgis-api-for-javascript-v4-25/ 4.25 Release Notes https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html 4.25 Samples https://developers.arcgis.com/javascript/latest/sample-code/?tagged=4.25 3.42 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 Violent Femmes - American Music Fair use and Parody law https://en.wikipedia.org/wiki/Fair_use
... View more
11-10-2022
05:51 AM
|
2
|
1
|
2351
|
|
POST
|
One option would be to use RequestInterceptor to inspect the search and modify it before sending it to the geocoding service (or doing something else entirely). https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#request https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#RequestInterceptor
... View more
11-03-2022
11:22 AM
|
0
|
1
|
1192
|
|
POST
|
Hi @rachel_dipietro, thanks for reporting this issue. We'll have this fixed at the next release, which is expected to be in early November.
... View more
10-21-2022
01:00 PM
|
0
|
0
|
909
|
|
POST
|
Hi @moremeowbell, unfortunately, MapImageLayer does not support defaultPopupTemplateEnabled. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#defaultPopupTemplateEnabled We have this on our roadmap for a future release, but currently, the workaround would be to create a FeatureLayer from each Sublayer to use defaultPopupTemplateEnabled. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createFeatureLayer I suppose the other option would be to loop through all the fields for each Sublayer once you're using the flattened collection with allSublayers and add those to the popup.
... View more
10-21-2022
03:43 AM
|
1
|
1
|
2377
|
|
POST
|
Hi @RoslanSaidi, I think what you're looking for is the filter property on the LocatorSearchSource or the LayerSearchSource. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html#filter https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html#filter You would need to create a new Extent based on the search radius to use this property properly.
... View more
10-17-2022
07:29 AM
|
0
|
0
|
1037
|
|
POST
|
Hi @umarfarook, there were 2 issues with your code. First is you were missing some required modules, like SimpleLineSymbol and Color. Whenever you see a "new" in a constructor, make sure you have the required AMD module in the app with an appropriate local variable name. The second issue is that you want to make sure the map is loaded and ready before adding graphics to it. Here is a working test-app that shows what I'm talking about: https://codepen.io/noash/pen/PoegOxR?editors=1000
... View more
10-17-2022
06:46 AM
|
1
|
0
|
715
|
|
POST
|
Sorry @KristianTuusjärvi, I just noticed this question. Unfortunately, MapImageLayer is not listed there. Perhaps we could improve the wording to make this more clear. What it means is that a FeatureLayer from a MapServer or a FeatureServer is usable. So if you had a MapServer like this: https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer You could also just use each Sublayer URL (effectively consuming it as a FeatureLayer) as a source for the Search widget: https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/0 https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/1 https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/2 https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/3
... View more
10-17-2022
06:13 AM
|
0
|
0
|
2552
|
|
POST
|
Yeah, unfortunately you can't load a Sublayer directly, it needs to be a FeatureLayer or one of the other approved layer types in the doc: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#sources What you can do is flatten the collection of Sublayers in the MapServer, then create FeatureLayers (and get the relevant LayerSearchSource attributes) out of each Sublayer. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html#allSublayers You should be able to also use the Sublayer.createFeatureLayer() method, but I had trouble with the synchronicity of the requests. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createFeatureLayer After creating the FeatureLayer and the LayerSearchSource attributes, add them to an object, and then add that object to the Search widget sources Collection. Here is a proof-of-concept app that should help clarify a potential workflow: https://codepen.io/noash/pen/VwxgQzv?editors=1000 Try searching for a simple word here, like "new" or "yo".
... View more
10-13-2022
10:35 AM
|
1
|
0
|
2590
|
|
POST
|
Correct @nadja, the sample I linked to shows how to set-up individual feature layers for use with the LayerSearchSource, like for example the searchFields and the outFields. It wouldn't work with just adding all Sublayers from a MapImageLayer without knowing more about the Sublayers. Does that make sense? So I don't think a programmatic approach would simplify things. I would just add the the Sublayers as individual LayerSearchSources.
... View more
10-13-2022
07:08 AM
|
0
|
2
|
2596
|
|
POST
|
Hi @DonnyVelazquez, we have improved performance at 4x with MapImageLayer for the upcoming release (version 4.25). This enhancement will best be viewed using a browser that supports WebGL2. https://registry.khronos.org/webgl/specs/latest/2.0/ You should be able to test this today using the next version of the ArcGIS API for JavaScript. https://github.com/Esri/feedback-js-api-next
... View more
10-11-2022
08:01 AM
|
0
|
1
|
1938
|
|
POST
|
Hi @AdrienFrench, sorry to hear about the issue. What version of Server is your print service using? Is it a custom print service, or out of the box from Server? If custom, was it created with ArcGIS Pro or ArcMap? Feel free to message me the URL to the print service (if it's accessible) and I can take a look as well.
... View more
09-21-2022
02:01 PM
|
0
|
0
|
2352
|
| 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 |
Friday
|