|
POST
|
Unfortunately, yes. $layer doesn't work for in-memory layers, like CSV, GeoJSON, etc. We document this in the description of $layer in the popup profile: https://developers.arcgis.com/arcade/guide/profiles/#popup I admit it is a bit buried... This is a limitation I hope we can lift soon. Will take a bit of refactoring in the Arcade engine to add support for client-side layers.
... View more
06-22-2022
04:29 PM
|
0
|
0
|
1425
|
|
BLOG
|
Hey Joel, Thanks for sharing your thoughts. I believe parity is always a priority, but we haven't been great at communicating what's planned or changes to our plans. Truthfully I forget about the functionality matrix, so I don't think to review it when I should do this in each release cycle. For example, I didn't realize ScaleDependedRenderer was still "under consideration". In my mind, it was no longer a planned project since this can be implemented by the user by watching the view scale, like this sample: https://developers.arcgis.com/javascript/latest/sample-code/visualization-heatmap-scale/ That being said, the ScaleDependentRenderer is a simpler API for configuring scale-dependent rendering than writing a function to do it. This is the first I had heard of someone asking for it in 4x, so it wasn't a priority. I think this is something we can take a look at though.
... View more
04-29-2022
03:04 PM
|
1
|
0
|
685
|
|
POST
|
Ah ok. What is the final goal of the visual in your mind? Do you want to show a heatmap where areas that have a raster surface show as hot, and cold areas have very little or no heatmap? Or do you want everything to be along a surface so hot areas are for example very red, and cold areas are very blue? In that scenario everything is part of the surface?
... View more
04-28-2022
11:49 AM
|
0
|
1
|
1518
|
|
POST
|
That widget appears to be a custom widget developed for WebApp builder and not in the JS API. The JS API LayerList widget in our 3.x APIs doesn't support symbology. I would post this question in the WebApp builder community pages: https://community.esri.com/t5/arcgis-web-appbuilder-questions/bd-p/arcgis-web-appbuilder-questions since the WebApp builder team developed that widget. Or if it is a bug, it would be better to reach out to Esri support so they can log the issue in your behalf and submit it to the WebApp builder team.
... View more
04-28-2022
11:37 AM
|
0
|
1
|
1113
|
|
POST
|
You can't render data from two layers or datasets in a single visualization. All data must be part of the same layer. You can create a new layer that contains all the data and have a field grouping each feature two each set as described above. Then you can render that new layer with something like heatmap or another renderer type.
... View more
04-28-2022
11:32 AM
|
0
|
3
|
1527
|
|
POST
|
I'm actually not able to reproduce this issue: https://codepen.io/kekenes/pen/GRybeER?editors=100
... View more
04-26-2022
01:49 PM
|
0
|
0
|
1433
|
|
POST
|
That's definitely a bug. Not intentional. I'll try to reproduce on my side.
... View more
04-26-2022
01:35 PM
|
0
|
1
|
1433
|
|
POST
|
Hi, Do you happen to have a codepen or some other way to share the app code? Or alternatively a link to the data you're using? The code above looks correct. It's hard to diagnose the issue without the data. Something like this might happen if the field you reference is a string field, or has null values.
... View more
04-26-2022
11:07 AM
|
0
|
3
|
1438
|
|
POST
|
Hi Nicolai, I believe you can achieve the desired result using a CIMSymbol. Is this the behavior you're seeking to achieve? https://codepen.io/kekenes/pen/GRybwZV Rather than use a rotation visual variable, I set a primitive override for rotation on just the arrow symbol layer. That will rotate the arrow symbol layer in place and not the entire symbol. CIM is a bit complicated, so let me now if you find the code in the pen confusing, or if you would like further explanation. Kristian
... View more
04-26-2022
11:03 AM
|
3
|
0
|
1432
|
|
POST
|
Can you provide a link to an app that demonstrates this issue? That way we can debug and offer suggestions. There may be an Arcade bug, rendering issue, or there could be an issue with the expression.
... View more
04-19-2022
01:09 PM
|
0
|
0
|
899
|
|
POST
|
Hey, To combine the two, you will need to use a custom content element outside of the text element. Here's a working example: https://codepen.io/kekenes/pen/abEjpoY The key code snippet is in the poupTemplate: const popupStreets = {
"title": "Streets",
"content": [{
type: "text",
text: "<b>USRN:</b> {SITE_CODE}<br><b>Street Name:</b> {SITE_NAME}<br><b>Town Name:</b> {TOWN_NAME}"
}, {
type: "custom",
creator: (graphic) => {
const location = view.popup.location;
return `x: ${location.x}<br>y: ${location.y}`;
}
}]
} Just keep the first content as a text element. Then add a custom element that defines a function. You can use this function do do whatever you need to in the popup that is "custom". In this case, you just want to return the popup location, which happens to be where the user clicked. Hopefully that helps.
... View more
04-11-2022
09:53 AM
|
3
|
1
|
2108
|
|
POST
|
The documentation is incorrect and needs to be updated. You need to set the anchor property to "top" to extrude symbols below the surface. I'm now realizing that anchor doesn't exist on ExtrudeSymbol3DLayer, but it does on ObjectSymbol3DLayer. I'm not sure why there's this difference. Will check... Here's the documentation for ObjectSymbol3DLayer.anchor.
... View more
04-04-2022
08:54 AM
|
1
|
0
|
2609
|
|
POST
|
Hi, This blog describes how you can summarize clustered points in various ways within the popup: https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/summarize-and-explore-point-clusters-with-arcade-in-popups/ Here's the pie chart portion: https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/summarize-and-explore-point-clusters-with-arcade-in-popups/#pie-charts And there are various other ways to list project types as well: Ordered list by type Table of custom attributes HTML table with 3+ columns List of features
... View more
03-30-2022
09:02 AM
|
0
|
0
|
4496
|
|
POST
|
I just want to point out that this is unsupported, so I wouldn't recommend it in a production application. We're still working on details of how to properly configure cluster renderers.
... View more
03-25-2022
11:19 AM
|
1
|
0
|
785
|
|
POST
|
Yep. Joel is correct. If you use simple marker symbols, it works: https://codepen.io/kekenes/pen/popegLv?editors=1000 This can be a little confusing. You can use SimpleFillSymbol and SimpleMarkerSymbol on polygon layers, but only SimpleMarkerSymbol for point layers.
... View more
03-25-2022
09:26 AM
|
0
|
0
|
872
|
| 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
|