|
POST
|
Hi John, There are a few changes you'll need to make in order for this to work. 1. Add the following to compilerOptions in your tsconfig.json file "lib": ["ES2019", "DOM"] 2. In your require statement in the index.html file, use this syntax to reference the custom widget: require(["app/HelloWorld"],
function({default: HelloWorld}) { } By following the rest of the tutorial but making these small changes, I was able to get these samples to work. Let me know if you still run into any issues! We are working on updating the documentation to reflect these changes. Thanks, Anne
... View more
01-04-2021
10:38 AM
|
0
|
3
|
2670
|
|
POST
|
Hi John! Thanks for pointing this out. We are investigating why the tutorial is not working as expected. I will update you when we have more information! - Anne
... View more
12-30-2020
11:31 AM
|
0
|
5
|
2691
|
|
POST
|
Hi Stefan, Querying for features within a cluster is now supported in version 4.18. Check out this sample to see how it's done and to learn more: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-query/index.html Hope this helps!
... View more
12-18-2020
01:51 PM
|
0
|
0
|
1159
|
|
POST
|
We just added support for querying features within a cluster at version 4.18 - check out this sample to see how it's done and for more information: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-query/index.html
... View more
12-18-2020
01:47 PM
|
0
|
0
|
2616
|
|
POST
|
Here's an example that might help: https://developers.arcgis.com/javascript/latest/showcase/hurricane-explorer/
... View more
12-16-2020
08:31 AM
|
1
|
3
|
1905
|
|
POST
|
Hi, you can set the goToLocationEnabled property to false on the Locate widget. This will just show the blue dot without zooming or panning. Hope this helps!
... View more
12-15-2020
08:22 AM
|
1
|
0
|
1096
|
|
POST
|
Hi @don-EMerson - the dgrid issue you're running into was caused by a breaking change at 4.15 dgrid styles are no longer globally included. if using dgrid in your web application, you will need to reference the stylesheet separately. Luckily, this is an easy fix! Just reference the dgrid stylesheet in your application: <link rel="stylesheet" href="https://js.arcgis.com/4.17/dgrid/css/dgrid.css"/> Hope this helps! -Anne
... View more
12-08-2020
09:36 AM
|
1
|
2
|
1862
|
|
POST
|
Hello, Unfortunately, there is not currently a way to add a WMSLayer in 4x without making the GetCapabilities request. Out of curiosity - what is your technical limitation for not wanting the GetCapabilities request to be made? If you want to formally request this feature in the 4.x API, we recommend contacting support. Thanks, Anne
... View more
12-03-2020
04:14 PM
|
0
|
0
|
1573
|
|
POST
|
Hi - thank you for sharing the video! One way to fix this would be to set the expand content to the container of the TimeSlider, instead of the TimeSlider itself, like this: let timeSliderDropExpand = new Expand({
collapsedIconClass: "esri-icon-collapse",
expandIconClass: "esri-icon-expand",
expandTooltip: "TimeSlider alertas",
view: view,
content: timeSliderAlertas.container,
expanded: true
});
view.ui.add(timeSliderDropExpand, "top-right"); Hope this helps!
... View more
11-25-2020
09:59 AM
|
1
|
1
|
2800
|
|
POST
|
Here's another option, you can change whether the layer title is displayed or not based on the position of the swipe widget. In this sample, I only show layer2 (left side) label when the swipe widget is less than position 25, I only show layer1 (right side) label when position is greater than 75, and I show both labels otherwise. https://codepen.io/annefitz/pen/zYBgROw
... View more
11-23-2020
09:56 AM
|
0
|
0
|
1799
|
|
POST
|
This is one option for displaying the layer titles when swiping: you can update the opacity of the layer title based on the position of the Swipe widget. Here's an example: https://codepen.io/annefitz/pen/ZEOZyOz
... View more
11-23-2020
09:41 AM
|
1
|
1
|
1801
|
|
POST
|
Hi, What issues are you seeing with the TimeSlider inside the Expand widget? I tried out your code and the TimeSlider seems to be appearing properly - but your playRate is very fast so the TimeSlider will speed through its animation once your press play. Can you be a little more specific about the issue you are seeing? Thanks, Anne
... View more
11-23-2020
09:36 AM
|
1
|
3
|
2822
|
|
POST
|
Here's an example: https://codepen.io/annefitz/pen/wvGxdjZ Let me know if you have any questions!
... View more
11-23-2020
09:29 AM
|
0
|
0
|
1103
|
|
POST
|
Hi @lxd, Yes you can specify that you want the list of features in the popup feature by setting featureMenuOpen to true in the parameters of the popup.open() method. It would look something like this: view.popup.open({
location: point,
features: featureSet.features,
featureMenuOpen: true
}); See line 161 in the Basic querying in FeatureLayer sample for an example.
... View more
11-17-2020
04:36 PM
|
0
|
0
|
1320
|
|
POST
|
Hi Kaycee, This was fixed in version 4.16. So if you update to version 4.16 or 4.17, you should no longer see this issue. Thanks, Anne
... View more
11-04-2020
10:45 AM
|
1
|
1
|
1290
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 10-24-2025 07:03 AM | |
| 1 | 09-09-2025 09:52 AM | |
| 1 | 09-03-2025 01:48 PM | |
| 1 | 08-22-2025 11:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|