|
POST
|
No. This feature isn't available in ArcGIS. The equivalent functionality is browse features, which allows you to view the titles of all popups in a cluster, click to view the individual feature's popup and view it's actual location on the map. You can also use alternate approaches to clustering if you want the "flare" behavior. Here's one available on GitHub: https://github.com/nickcam/FlareClusterLayer And an example: http://flareclusterlayer.azurewebsites.net/index_v4.html . The images below show the default behavior in the JS API. Note the symbol for the selected feature in the browse action is too small to really see. That is because it uses the symbol directly set on the layer's style. To see it better, just bump up the size of the symbol.
... View more
12-29-2022
11:28 AM
|
0
|
0
|
919
|
|
POST
|
Can you post a link to a codepen demonstrating the issue. It's hard to debug without seeing this config connected to real data.
... View more
12-29-2022
11:18 AM
|
0
|
1
|
756
|
|
POST
|
That pattern isn't supported in 4.x. Rather than set a symbol for each graphic, you should set a renderer on the FeatureLayer. In this case you would set a SimpleRenderer with a PictureMarkerSymbol on the symbol property. Very similar to how you see it in this sample: https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/
... View more
12-20-2022
09:48 AM
|
0
|
2
|
1163
|
|
POST
|
Your Arcade expression appears to be missing a default value in the Decode function. Add another param, like the number 3, or null so the expression can properly evaluate. var code = Decode(color, '#990000', 0, '#006600', 1, '#000000', 2, null);
... View more
12-12-2022
11:40 AM
|
0
|
0
|
587
|
|
POST
|
A codepen or similar app would help debug this. On the surface it seems like an issue with PictureMarkerSymbol.
... View more
11-30-2022
03:19 PM
|
0
|
0
|
779
|
|
IDEA
|
The symbol property is now public and part of the web map. Marking this idea as implemented. Release notes: https://developers.arcgis.com/javascript/latest/release-notes/#custom-cluster-styles Sample: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-symbol/
... View more
11-28-2022
11:40 AM
|
0
|
0
|
1389
|
|
IDEA
|
This was implemented in v4.25. See the release notes here: https://developers.arcgis.com/javascript/latest/release-notes/#custom-cluster-styles Here are examples that demonstrate this: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-renderer-sum/ https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-aggregate-fields/ https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-pie-charts/
... View more
11-28-2022
11:38 AM
|
0
|
0
|
4034
|
|
POST
|
Each renderer has an authoringInfo property for preserving properties like slider values set by the user: https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-support-AuthoringInfoVisualVariable.html#maxSliderValue If you set these values in the renderer, the "fromRendererResult" methods on the sliders take these properties into account when updating slider values: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ColorSlider.html#fromRendererResult
... View more
10-26-2022
04:32 PM
|
0
|
2
|
769
|
|
POST
|
Getting statistics for two fields like this is not supported at the moment in this function. However, we are adding support for it in our next release. In the meantime, you can use Query.outStatistics to get the count of features with values from two fields. // query for the average of the population change for all features
// Notice that you can pass a SQL expression as a field name to calculate statistics
let statDef = {
onStatisticField: "CASE WHEN AppType = ‘RD’ AND AppStat = ‘active’ THEN 1 ELSE 0 END", // service field for 2015 population
outStatisticFieldName: "RD_active",
statisticType: "sum"
}
let query = layer.createQuery();
query.outStatistics = [ statDef ];
const { features } = await layer.queryFeatures(query);
let stats = features[0].attributes;
console.log("Average change:", stats.RD_active);
... View more
09-08-2022
09:52 AM
|
0
|
0
|
1091
|
|
IDEA
|
The JS API does support various blend modes and effects on the layer level. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#blendMode https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#effect We also have a guide to visualizing high density data where we talk about bloom as a way to accomplish this: https://developers.arcgis.com/javascript/latest/visualization/high-density-data/bloom/ There are other techniques as well, like using opacity. Hopefully this helps.
... View more
09-08-2022
08:31 AM
|
0
|
0
|
1092
|
|
POST
|
It looks like this is posted in the wrong community since this is a Runtime snippet and not a JavaScript one. I suggest posting in one of these: https://community.esri.com/t5/arcgis-runtime-sdks/ct-p/arcgis-runtime-sdks
... View more
08-31-2022
09:17 AM
|
0
|
0
|
522
|
|
POST
|
Hi @quooston , Can you create a small test app that reproduces the issue? This should work...so I'll need an app to help debug to help isolate the issue. You can also reach out to Support if the data you're working with is private or sensitive. They can set up a similar test dataset and help reproduce as well.
... View more
08-26-2022
09:32 AM
|
0
|
2
|
1496
|
|
BLOG
|
Yep. The server-side solution would request bins from the server, not individual features. Though you would be able to query a bin for its individual features.
... View more
08-23-2022
12:19 PM
|
0
|
0
|
1166
|
|
BLOG
|
@JamesNurse We're targeting server-side binning sometime next year. We're already doing research on the project now, but it won't be available until at least March of 2023 (this is not a release date, just a very loose estimate on the earliest you would see it).
... View more
08-22-2022
08:45 AM
|
0
|
0
|
1192
|
|
POST
|
Hi, If you set popupTemplate.overwriteActions = true, it will overwrite the browse features and zoomTo actions in the cluster popup. To remove the cluster summary popup, you can set the popup.features property to only the clustered features once they're queried. query.aggregateIds = [ clusterGraphic.getObjectId() ];
const { features } = await layerView.queryFeatures(query);
view.popup.features = features;
... View more
08-17-2022
09:03 AM
|
1
|
1
|
1582
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-06-2025 03:09 PM | |
| 1 | 04-29-2025 08:36 AM | |
| 1 | 08-20-2024 08:06 AM | |
| 1 | 08-13-2024 11:53 AM | |
| 1 | 07-22-2024 11:04 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-06-2025
03:01 PM
|