|
POST
|
Hi there, You can use the ImageryTileLayer.fetchPixels method to retrieve information about pixels within the extent. From the returned PixelBlock, you can then access the min and max pixel values through its statistics property. const pixelBlock = await layer.fetchPixels(view.extent, view.width, view.height);
// access pixelBlock.statistics (minValue and maxValue)
... View more
04-09-2025
01:57 PM
|
0
|
0
|
325
|
|
IDEA
|
Hi there, We have plans to introduce raster chart components in the JS API. We will provide an update once they are available.
... View more
04-09-2025
01:33 PM
|
0
|
0
|
419
|
|
POST
|
Hi there, You should be able to use StreamLayer.customParameters to add additional params like token.
... View more
04-09-2025
01:06 PM
|
0
|
0
|
275
|
|
POST
|
Hi there, To hide a component, you remove the component by calling remove method on the html element. To show the component again, simply append the element back to the map component. For the visibility toggle to work properly, ensure the auto-destroy-disabled attribute is set on the component. You can see an example of toggling a component visibility in this codepen - https://codepen.io/U_B_U/pen/zxYbZda?editors=1000 Hope this helps, - Undral
... View more
04-04-2025
09:07 AM
|
0
|
0
|
875
|
|
POST
|
From your description, it seems like you're querying features and using featureEffect to display the results of the query. Then, you're using hitTest to highlight features that meet the included effect criteria. If you're relying on hitTest to highlight features, you'll only be interacting with those within the current map extent. I may be missing some details—could you clarify how you plan to select features outside the map extent using hitTest? In any case, your workflow is acceptable.
... View more
04-04-2025
08:23 AM
|
0
|
0
|
371
|
|
POST
|
Hi there, Features excluded from the feature effect still participate in the hitTest because they remain visible on the map. To resolve this, apply the filter directly to the StreamLayerView, since you are setting the excluded features to be fully opaque. This ensures that the filtered-out features are not included in the hitTest results. To do this, you need to obtain an instance of the layerView and set the filter on it, as demonstrated in the following pseudo code: // get the layer view instance
const layerView = await view.whenLayerView(layer);
// later in the code
// set filter on the stream layer view
layerView.filter = featureFilter; I modified the sample you are using to showcase this: https://codepen.io/U_B_U/pen/XJWOoMY?editors=1000
... View more
04-03-2025
11:41 AM
|
0
|
2
|
385
|
|
POST
|
Hi there, I think you are asking how to set colorRamp on RasterStretchRenderer. Correct me if I am wrong. You may find convenience methods found in colorRamps module. For example byName() method returns predefined color ramp based on the one of the system color ramps. You can get the names of predefined color ramps by calling names method. This sample takes advantage of colorRamps module and you can use the same technique to create the colorRamps for the RasterStretchRenderer as shown below. function changeColorRamp(name) {
const colors = colorRamps.byName(name);
return colorRamps.createColorRamp(colors);
}
let colorRamp = changeColorRamp("Elevation #1");
// set the shaded relief renderer parameters
const renderer = new RasterShadedReliefRenderer({
altitude: 45,
azimuth: 315,
hillshadeType,
zFactor: 1,
scalingType: "adjusted",
colorRamp
}); I definitely agree that the documentation could be better. We will add a link to colorRamps module in RasterStretchRenderer.colorRamp description and add a code snippet.
... View more
04-01-2025
08:24 AM
|
2
|
0
|
695
|
|
IDEA
|
03-20-2025
09:42 AM
|
0
|
0
|
905
|
|
IDEA
|
Hi there, We have a plan to add a support for persisting MapNotesLayer as a portal item. Once it is implemented, you could add the drawings to MapNotesLayer and save it as a portal item. Can you use MapNotesLayer for your workflow? We will update you here as soon as the MapNotesLayer can be persisted.
... View more
03-20-2025
09:41 AM
|
0
|
0
|
907
|
|
POST
|
Hi there, I can reproduce the behavior you're describing and will inform you as soon as we have a fix in place. However, I'm curious about why you're using a client-side feature layer in this case. It seems like you're frequently updating features. The StreamLayer, on the other hand, is optimized for handling data that updates at a high frequency.
... View more
03-14-2025
02:54 PM
|
2
|
0
|
597
|
|
IDEA
|
Hi there, I want to let you know that this feature is implemented and available at version 4.32 - https://developers.arcgis.com/javascript/latest/release-notes/#enhanced-highlights-api
... View more
03-11-2025
10:31 AM
|
0
|
0
|
962
|
|
POST
|
Hi there, I want to let you know that this feature is implemented and available at version 4.32 - https://developers.arcgis.com/javascript/latest/release-notes/#enhanced-highlights-api
... View more
03-11-2025
10:29 AM
|
0
|
0
|
257
|
|
POST
|
Hi there, I want to let you know that this is implemented and available at version 4.32 - https://developers.arcgis.com/javascript/latest/release-notes/#enhanced-highlights-api
... View more
03-11-2025
10:28 AM
|
0
|
0
|
924
|
|
POST
|
Hi there, Version 4.32 does not fully support curves. While we can read true curves, editing them is not yet possible. It seems like you're asking if there's a way to prevent circles from appearing as ovals. Unfortunately, this isn't supported by the REST API. The appearance of your circles will depend on the map projection used. If you would like to share more about your intent then we may be able to give a better suggestion.
... View more
03-11-2025
09:44 AM
|
0
|
0
|
437
|
|
POST
|
Hi there, Would you mind copying and pasting a featurelayer constructor and one of the geometries? This would make it easier to reproduce the behavior you are describing. Thanks
... View more
03-10-2025
09:33 AM
|
0
|
1
|
593
|
| 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
|