|
POST
|
@ShainaAlia , The path should be "@arcgis/core/views/MapView" in the MapView import. Thanks, Jose
... View more
01-04-2022
09:52 AM
|
1
|
0
|
4610
|
|
POST
|
@MatthieuThery1 , Great! Thanks for confirming this is working for you as well. Yes, this will be included for 4.22 in our December release. Thanks again for bringing this issue to our attention! Thanks, Jose
... View more
11-23-2021
02:22 PM
|
1
|
0
|
557
|
|
POST
|
@MatthieuThery1 , Can you test this with the following cdn please? <script src="https://js.arcgis.com/next/"></script>
... View more
11-23-2021
11:48 AM
|
0
|
2
|
563
|
|
POST
|
Hi @MatthieuThery1 , Apologies for these inconsistencies you are seeing. There were some updates done at 4.21 we hoped would have resolved this, and it appears partially resolved. I am also seeing the slight rotation. It depends on where you try to move the cursor up/down where we see the line rotate up/down. We will look into this further, and I will reach out directly to you if we have some additional questions. Thanks, Jose
... View more
11-11-2021
08:32 AM
|
1
|
0
|
1851
|
|
POST
|
Hello @JoelBennett , Thank you for reporting this. You are correct, this is a bug caused by some changes in version 4.21. Apologies for this, we are looking into this now, and hope to get this addressed in 4.22. Thanks, Jose
... View more
11-10-2021
11:53 AM
|
1
|
1
|
859
|
|
POST
|
@avecchi , Could you please provide a codepen or something similar to view a test app that reproduces this issue? I was unable to reproduce this with the code you provided and I tested with versions 4.19 - 4.21. What version of the JSAPI are you seeing this, and have you tested with different versions of the API and are able to reproduce as well? Thanks, Jose
... View more
10-21-2021
12:29 PM
|
0
|
0
|
1070
|
|
POST
|
Hello @JoseSousa1 , Since the Sketch widget is using calcite as of version 4.21, it is not possible to override most of the widget's css. This is because Calcite is using web components. There are some minor styling changes you can make. For instance, here is a previous post where a solution was provided to update the Sketch button's background color. https://community.esri.com/t5/arcgis-api-for-javascript-questions/sketch-widget-in-4-21-how-to-change-color-and-size/m-p/1105607/highlight/true#M74906 However, updating the Sketch buttons to be rounded would not be something that would be possible without access to the widget's internal components, which is not available at the app level. We plan on updating the JSAPI widgets to use Calcite gradually through future releases. Also, we are planning to release some documentation in the near future to explain this and demonstrate what is possible to override with the new calcite design system. This is good feedback in regards to how our users are planning to override the Sketch widget's default css. I will take note of this as we continue to discuss what we make available in the widgets to override. Thanks, Jose
... View more
10-20-2021
08:42 AM
|
0
|
1
|
1110
|
|
POST
|
@kjtrottier , It is possible to edit existing graphics on a GraphicsLayer using the Sketch widget, if the widget is using the same GraphicsLayer. The graphics must be using the same spatial reference as the view, otherwise you will experience the issue you are seeing where you are not able to edit the existing graphics. To demonstrate this is possible, here is a test app: https://codepen.io/banuelosj/pen/GRvjjow Notice the graphics in the app added with GraphicsLayer.add(graphic) are using the same spatial reference as the MapView, which is Web Mercator (102100). Thanks, Jose
... View more
10-20-2021
08:21 AM
|
1
|
1
|
2919
|
|
POST
|
Hello @MKY , This is a good question. The Sketch widget is using calcite-actions, so in order to update the default color of the Sketch widget buttons, then the following css override will work. This is documented here: https://developers.arcgis.com/calcite-design-system/foundations/colors/#primary-colors calcite-action {
--calcite-ui-foreground-1: rgba(240,186,180,0.5);
} Unfortunately, you are currently unable to override the size of the calcite-actions in the Sketch widget. We are aware of this, and we are discussing how to improve this workflow. Thanks, Jose
... View more
10-07-2021
09:53 AM
|
1
|
0
|
2016
|
|
POST
|
@AlexCopli @RYANCARL , This issue has been patched and no longer reproducible in version 4.21. You can test with the following sample: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=sketch-geometries Please let me know if you are still seeing this problem. Thanks, Jose
... View more
09-28-2021
11:14 AM
|
1
|
0
|
2525
|
|
POST
|
@RYANCARL , We are working on a patch right now, so no workaround will be needed for 4.21. I will post once the fix is in. Thanks, Jose
... View more
09-24-2021
04:49 PM
|
1
|
1
|
2608
|
|
POST
|
@AlexCopli What version did you find this issue in? This was reproduced only in 4.21. We are trying to get a patch for 4.21. If you reproduced in an earlier version, can you send repro app and repro steps?
... View more
09-24-2021
04:46 PM
|
0
|
0
|
2612
|
|
POST
|
Hello @AlexCopli , Thanks for finding this bug. We are working to get a fix in for this real soon. Version 4.20 is not affected by this issue, however, we are trying to get a patch for this as soon as we can. Thank you, Jose
... View more
09-24-2021
04:14 PM
|
1
|
4
|
2631
|
|
POST
|
@MatthieuThery1 , Thanks for the repro sample and step, this is definitely an issue. We are looking into this, and thanks for bringing this up to our attention. Thanks, Jose
... View more
09-13-2021
09:59 AM
|
0
|
5
|
2188
|
|
POST
|
@MatthieuThery1 , Can you provide a repro sample codepen? Can you provide the current version you are using, and the steps to reproduce this? I tested this in 4.20 and our latest build today and I am not able to repro with SketchViewModel. There might be an additional step I'm missing that can lead to this issue. Thanks, Jose
... View more
09-10-2021
11:35 AM
|
0
|
7
|
2213
|
| 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 |
Wednesday
|