|
POST
|
@RyderRoss , This is indeed resolved in 4.24! We improved snapping and went with a lazy-load approach to creating FeatureSnappingLayerSources. Therefore, there will not be any extent queries unless a user manually checks the layer on for snapping or programmatically sets it in the SnappingOptions.featureSources collection. Please feel free to try it out and report any issues you find. Thanks! Jose
... View more
06-28-2022
03:58 PM
|
0
|
0
|
2241
|
|
POST
|
Hello @AmirKhanInd , Have you had an opportunity to test with the latest version of the JSAPI 4.24, and are you using GroupLayers in your map? I ask because we had a similar issue we resolved for GroupLayers only, in version 4.24. I just tested and verified this is working with standalone layers. Here is the codepen I used from the same sample you provided: https://codepen.io/banuelosj/pen/KKoPGba?editors=1010 Your code looked fine on first glance, but if you still see the issue, feel free to use a similar codepen to the one I provided to provide a repro case. Thanks, Jose
... View more
06-27-2022
07:58 AM
|
0
|
0
|
759
|
|
IDEA
|
@ThijsBriggeman_Tensing , There is currently no timeline unfortunately. We are working every release to improve utility network support in the ArcGIS API for JavaScript, and the work has already been planned for the rest of this year. I will see that we use your request and feedback to help make this feature a higher priority for our plans next year. Having an out-of-the-box user interface to view associations will definitely be beneficial. Appreciate your feedback! Thanks, Jose
... View more
06-10-2022
08:10 AM
|
0
|
0
|
1995
|
|
IDEA
|
@ThijsBriggeman_Tensing , The ArcGIS API for JavaScript has the ability to view connectivity, containment, and structural attachment Associations. This is documented here: https://developers.arcgis.com/javascript/latest/utility-network/associations/ Here is a sample on how to do this: https://codepen.io/banuelosj/pen/mdXzNEw?editors=1010 This sample requires the following credentials to access: username: viewer01 password: I68VGU^nMurF Once you sign in, the associations will be rendered as dotted lines. You may need to zoom in to see more clearly. Hope this helps, we agree there is a need for some sort of widget to help with this workflow. We are currently discussing this within the team. Thanks! Jose
... View more
06-09-2022
03:26 PM
|
0
|
0
|
2006
|
|
POST
|
Hi @JimmyBowden , Yes, this is currently a limitation with the SubtypGroupLayer. Asset Type and Asset Group should display their value descriptions and not the coded values. This is something we are working on at the moment including adding support for reading SubtypeGroupLayers from a webmap. Thanks, Jose
... View more
05-31-2022
07:48 AM
|
1
|
1
|
1534
|
|
POST
|
Hello @KarthikAditya , Thanks for providing feedback on the documentation for the UtilityNetwork. I agree we are missing some sample code in this class. The code you need to load a utility network from a webmap is the following. const webMap = new WebMap({
portalItem: {
portal: {
url: "MyPortalUrl"
},
id: "MyWebmapId"
}
});
webMap.when(async function() {
// Check if webMap contains utility networks.
if (webMap.utilityNetworks.length > 0 ) {
// Assigns the utility network at index 0 to utilityNetwork.
utilityNetwork = webMap.utilityNetworks.getItemAt(0);
}
// Trigger the loading of the UtilityNetwork instance.
await utilityNetwork.load();
});
We will add this sample code into the UtilityNetwork class. We are also working on providing a sample and some more detailed documentation on working with utility networks with the ArcGIS API for JavaScript. Thanks again for the feedback! Thanks, Jose
... View more
04-20-2022
08:20 AM
|
0
|
0
|
679
|
|
POST
|
Hello @ChristopheSuter , This is an issue with the SnappingControls widget, and is currently being worked on for 4.24. The widget is currently fetching the layer extent for all the layers on the Map, even if you disable feature snapping. This was originally reported in the following thread: https://community.esri.com/t5/arcgis-api-for-javascript-questions/disabling-snapping-on-sketch-does-not-prevent/m-p/1145254/highlight/true#M76386 Unfortunately, the only way to resolve this is to use the SketchViewModel without Sketch and programmatically configure the SnappingOptions. This is of course not ideal for anyone working with the Sketch widget. This will be fixed for 4.24. Thanks, Jose
... View more
04-11-2022
08:28 AM
|
0
|
0
|
1191
|
|
POST
|
Hello @SHASHIKANTKASERA With a completely custom workflow you can if you are working with hosted editable feature services. With the out-of-the-box widget, you cannot because Sketch saves its graphics on a GraphicsLayer that exists entirely on the client. If you refresh the app then the graphics are cleared. Editor uses the Sketch drawing API using SketchViewModel, and Editor allows you to edit feature from an editable feature service easily. If you don't want to use Editor, then you would have to create your own custom workflow and application. Ex: https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-basic/ Thanks, Jose
... View more
03-25-2022
01:46 PM
|
0
|
0
|
649
|
|
POST
|
@ironmaskito Could you provide a reproducible sample app? Just want to make sure we look at the exact issue you ran into. Thanks, Jose
... View more
03-25-2022
01:38 PM
|
0
|
0
|
605
|
|
POST
|
@ararana , I wanted to provide an update on this. This issue has been resolved in 2D since support for editing and sketching graphics with different spatial reference than the view has recently been added in version 4.23. However, in 3D we still see the problem. This could now be considered a potential bug since it is now working in 2D. We are looking into this further, but let me know if you have any questions. Thanks, Jose
... View more
02-25-2022
12:37 PM
|
1
|
0
|
1326
|
|
POST
|
@ararana , Lat/Long with wgs84 spatial reference (SR) is already supported. The issue here is the basemap being used has a web mercator SR, therefore the view has a web mercator SR. This is different then the polyline geometries which use the wgs85 SR. In short, yes, this should work if you use a basemap with a wgs84 SR.
... View more
02-22-2022
12:38 PM
|
0
|
0
|
1334
|
|
POST
|
Hello @ararana , I took a look at this and found that if you convert the coordinates in the polyline provided from WGS84 to WebMercator coordinates, I was not able to reproduce this issue with z-values. Codepen: https://codepen.io/banuelosj/pen/QWOQBwG?editors=1010 - If you use the polyline with WGS coordinates, you will be able to reproduce the issue. Currently, editing graphics with coordinates in a different spatial reference than the view is not supported. In the sample you provided, the view has a spatial reference of web mercator, but the polyline had coordinates in WGS84. Thanks, Jose
... View more
02-18-2022
03:22 PM
|
0
|
2
|
1356
|
|
POST
|
@RyderRoss We have confirmed the issue to be a result of the SnappingControls widget. We have discussed the possible fixes for this, and are currently working on a solution. The target to get this fix is for version 4.24, so unfortunately it won't make it into the upcoming release 4.23. However, this is an issue we are prioritizing and should be in for 4.24. Thanks, Jose
... View more
02-17-2022
09:41 AM
|
1
|
3
|
2356
|
|
POST
|
@RyderRoss , First of all, thank you for bringing this up to our attention. It seems this being caused by the SnappingControls widget. This issue doesn't present itself in Sketch until the SnappingControls widget was incorporated into Sketch. We are looking into this further, and will provide more information soon. Thanks, Jose
... View more
02-01-2022
04:31 PM
|
1
|
6
|
2429
|
|
POST
|
Hello @ironmaskito , Could you provide a simplified reproducible app? I was not able to reproduce this with the sketch-geometries sample. Thanks, Jose
... View more
01-20-2022
08:21 AM
|
0
|
0
|
595
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-28-2025 12:16 PM | |
| 1 | 04-15-2025 07:36 AM | |
| 3 | 01-17-2025 12:50 PM | |
| 1 | 01-04-2022 09:52 AM | |
| 3 | 01-10-2024 09:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-29-2025
04:09 PM
|