|
POST
|
Hi there, Have you seen this sample: https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/? Sounds like you are doing what this sample shows.
... View more
08-03-2022
03:08 PM
|
1
|
0
|
2321
|
|
POST
|
Hi there, I am able to reproduce the issue you described with version 4.24. Please note that the flashing does not exist in version 4.23. Thank you for bringing this issue to our attention. I will update you once we address this issue.
... View more
08-03-2022
09:23 AM
|
0
|
0
|
930
|
|
POST
|
Hi there, Ah should have realized that. I am able to reproduce the issue. We are tracking this issue and will update you as soon as it is fixed. Thanks for bringing this issue to our attention. -Undral
... View more
08-02-2022
10:55 AM
|
0
|
1
|
2953
|
|
POST
|
Hi there, No it cannot be done. Both the legend and layerlist follow the layer order of the map.
... View more
08-02-2022
09:12 AM
|
0
|
0
|
3499
|
|
POST
|
Oops, sorry for the post above. I accidentally replied to a wrong thread. In any case, what you are asking cannot be done. Order of layers in the legend are defined by the order of layers in the LayerList.
... View more
08-01-2022
08:46 AM
|
0
|
1
|
3518
|
|
POST
|
Hi there, I created a very simple test app to show how to change the symbols of old features that TimeSlider widget already played. In the app, I am watching the TimeSlider.timeExtent property and set the timeExtent directly on the layer object, then createRenderer function is called. In this function, we set a unique-value renderer with valueExpression and use the expression in the visual variables. We have a guide doc in our SDK to talks about how to visualize data based on time. You may find that info useful as I used this guide topic as a starting point to symbolize data differently based on time. Hope this helps, -Undral
... View more
08-01-2022
08:44 AM
|
0
|
0
|
999
|
|
POST
|
Hi there, You should be able to use INTERVAL function. You may find this blog useful: https://www.esri.com/arcgis-blog/products/api-rest/data-management/querying-feature-services-date-time-queries/
... View more
08-01-2022
08:39 AM
|
1
|
0
|
1849
|
|
POST
|
Hi there, I created a very simple test app to show how to change the symbols of old features that TimeSlider widget already played. In the app, I am watching the TimeSlider.timeExtent property and set the timeExtent directly on the layer object, then createRenderer function is called. In this function, we set a unique-value renderer with valueExpression and use the expression in the visual variables. We have a guide doc in our SDK to talks about how to visualize data based on time. You may find that info useful as I used this guide topic as a starting point to symbolize data differently based on time. Hope this helps, -Undral
... View more
07-29-2022
02:55 PM
|
0
|
0
|
3532
|
|
POST
|
Hi there, You have to set the tileInfo in the layer constructor. The tileInfo.size is used to derive the layer's tileInfo.lods and eventually MapView.constraints.LODs (if it is base or only layer). Try zooming in and out in your codepen you can see that LODS calculations are incorrect (visually).
... View more
07-29-2022
10:55 AM
|
1
|
0
|
3926
|
|
POST
|
Hi there, I tested the MediaLayer with a 8 bit png with a transparent background and was not able to reproduce the issue you described. Here is the image I used: https://i.stack.imgur.com/RPEQQ.png The one with red background is added as img on a div with a red background. The one on the map is added to the MediaLayer. The transparency is working expected. If you see issue can you please provide a reproducible case? Thanks
... View more
07-28-2022
11:06 AM
|
0
|
1
|
2980
|
|
POST
|
Hi there, You cannot directly set the TileInfo.size as you are doing. It needs to be set in the custom layer constructor as shown below: const TintLayer = BaseTileLayer.createSubclass({
constructor() {
this.tileInfo = TileInfo.create({
size: 512,
spatialReference: { wkid: 102100 }
});
},
... Please take a look at this codepen for how it is done. Here a link to the TileInfo.create() method.
... View more
07-27-2022
09:46 AM
|
1
|
2
|
3953
|
|
POST
|
Hey there, This works too: [view.map.allLayers.map((layer) => layer.visible)]
... View more
07-27-2022
09:09 AM
|
1
|
0
|
4985
|
|
POST
|
Hi there, So I did confirm that watching layer visibility is not working in the sample you mentioned. We will get it fixed in the sample ASAP. Thank you for bringing this to our attention. You can watch the operational layer visibilities the following way: view.when(()=>{
view.map.layers.forEach((layer) => {
reactiveUtils.watch(() => layer.visible, (visible) => {
console.log(layer.title, "visible:", layer.visible)
});
});
}); Or for single layer you can just do the following: reactiveUtils.watch(() => layer.visible, (visible) => {
console.log(layer.title, "visible:", layer.visible)
});
... View more
07-26-2022
02:39 PM
|
0
|
1
|
5023
|
|
POST
|
Hi there, Please read the doc from the link I provided above. Creating a FeatureLayer section in FeatureLayer doc has a section called Add an array of client-side features. This section explains all required schema properties you need to set to successfully initialize your client-side FeatureLayer. You must set the geometryType property in the class constructor to let the api know that you are creating a spatial FeatureLayer. Otherwise, the api assumes you are creating a non-spatial FeatureLayer and non spatial FeatureLayer cannot be added to the map.
... View more
07-25-2022
09:21 AM
|
0
|
0
|
3266
|
|
POST
|
Hi there, Yes it can be done easily. You can create an empty client-side FeatureLayer by setting its source property to an empty array. Then you can add and remove features from it by calling applyEdits method. This is explained here: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#creating-a-featurelayer This sample shows the process: https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection-edits/
... View more
07-22-2022
09:03 AM
|
1
|
1
|
3285
|
| 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
|