|
POST
|
Hi there, So I talked to a coworker who is much more experienced in this area. You are getting the error because the tabs are first being rendered in the page and then being moved into the expand widget. It would probably be better to not first create them in the page and then have them moved. Your code is modified to show the preferred approach. Hope this helps https://codepen.io/driskull/pen/ZEmoryK?editors=1000
... View more
07-18-2023
12:00 PM
|
0
|
0
|
1644
|
|
POST
|
Hi there, Please place the calcite components in div element and add set the Expand.content to the div. This got rid off the error.
... View more
07-17-2023
02:33 PM
|
0
|
1
|
1670
|
|
POST
|
As @JoelBennett mentioned above you can use the GeoJSONLayer.customParameters if the CQL_FILTER is part of the url query. If it is then you can set the customParameters after the GeoJSONLayer is initialized. You also have to call the GeoJSONLayer.refresh() method once you set the customParameters. Please take a look at this sample: https://developers.arcgis.com/javascript/latest/sample-code/layers-geojson-refresh/
... View more
07-17-2023
01:29 PM
|
0
|
0
|
1869
|
|
POST
|
Hi there, I am not able to reproduce the behavior you describe. Would you mind creating a simple reproducible case? You can use this codepen as starting point: https://codepen.io/U_B_U/pen/BaGxBqK?editors=100
... View more
07-17-2023
12:32 PM
|
0
|
0
|
4382
|
|
POST
|
Hi there, I do see the behavior you describe. You can workaround this issue by cloning the layer's mosaicRule, make the changes to the cloned mosaicRule then assign the mosaicRule back to the layer's mosaicRule as shown below: const where = "StdTime = " + `date'${whereDate}'`;
let rule = layer.mosaicRule.clone();
rule.multidimensionalDefinition = [];
rule.where = where;
layer.mosaicRule = rule;
... View more
07-17-2023
12:05 PM
|
0
|
1
|
1360
|
|
POST
|
Hi there, It would be really hard to say why you are seeing what you are seeing without a reproducible case. Would you be able to share your app with us? Also have you tested the app with the latest version 4.27?
... View more
07-14-2023
09:07 AM
|
1
|
1
|
2514
|
|
POST
|
Hi there, The link to your codepen is points to an empty codepen. In any case you can use the identify similar to what is shown below. const params = {
geometry: event.mapPoint,
tolerance: 3,
mapExtent: view.extent
};
identify.identify("https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer", params).then((results)=>{
console.log(results);
}); Hope this helps, -Undral
... View more
07-14-2023
08:06 AM
|
0
|
0
|
1076
|
|
POST
|
Hi there, I am letting you know that this issue will be fixed at version 4.28 and it is expected to be released end of October.
... View more
07-13-2023
02:41 PM
|
0
|
0
|
4870
|
|
POST
|
Hi there, Instead of having to set the fields content yourself for the layer's popupTemplate, you can simply set the popupTemplate.content to fields content element. In the SDK doc, you will see examples of this. In any case, I updated your codepen to set the fields content for the first layer: https://codepen.io/U_B_U/pen/gOQvmyY?editors=1000 Hope this helps, -Undral
... View more
07-13-2023
10:22 AM
|
0
|
0
|
1209
|
|
POST
|
Hi there, I am able to reproduce the behavior you are describing. We logged an issue for this and will update you as soon as we get it fixed.
... View more
07-13-2023
09:50 AM
|
0
|
0
|
5512
|
|
POST
|
Hi there, The always-horizontal label placement for polygons always places the labels at the center of polygons. Is this what you are not seeing? Here is a simple codepen that shows labels for polygon features: https://codepen.io/matt9222/pen/LYXeqdP?editors=1000
... View more
07-12-2023
11:09 AM
|
0
|
0
|
1347
|
|
POST
|
Hi there, You can do it several different ways. You can do it using geometryService.convexHull as mentioned above but it is requires a trip to a server. You can use geometryEngineAsync.convexHull() method and the calculation will run on the client-side without having to go back to the server. I created a simple codepen to showcase how to use geometryEngineAsync's convexHull method. If you are working with ArcGIS Online hosted feature service then you can take advantage of convex-hull-aggregrate statistics with query.
... View more
07-11-2023
03:55 PM
|
3
|
0
|
1512
|
|
POST
|
Hi there, I am able to see the behavior you describe and we will be looking into improving hittest behavior to get the closest hit. I will update you once we update the hittest behavior.
... View more
06-27-2023
03:21 PM
|
1
|
2
|
1897
|
|
POST
|
Would have been easier if your codepen did not return errors. In any case, I am able to see the behavior you describe. If you set the SimpleLineSymbol width to <=1.5 then the hittest returns results consistently at the bottom segment. We will look into this behavior and I will update you once we address it.
... View more
06-27-2023
02:24 PM
|
1
|
1
|
2206
|
|
POST
|
Hi there, You getting the error because you are trying to query a feature using fields that do not exist on the layer. You must set the fields in the layer's field schema and also set the attributes on the features. Year and name fields do not exist in the case (actually all other fields in this case). query.where = "YEAR = " + year + " AND NAME = '" + name + "'"; You also must set the outFields on the FeatureLayer so that fields are also available on the FeatureLayerView since you are doing the query on the layer view. I updated your codepen to add the missing pieces. Please take a look at the codepen: https://codepen.io/U_B_U/pen/MWzJMRR?editors=1000 Some useful docs: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#creating-a-featurelayer - Please read Add an array of client-side features section on how to create client-side feature layer. FeatureLayer.outFields: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#outFields Hope this helps, -Undral
... View more
06-27-2023
07:48 AM
|
0
|
0
|
2243
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2025 03:29 PM | |
| 1 | 07-09-2025 08:48 AM | |
| 2 | 07-08-2025 08:09 AM | |
| 2 | 07-07-2025 03:57 PM | |
| 1 | 06-11-2025 03:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-01-2025
08:03 AM
|