|
POST
|
Hello - thanks for reporting this! We are investigating the issue.
... View more
06-25-2021
10:10 AM
|
0
|
0
|
4813
|
|
POST
|
Glad that helped! I believe it should also work for symbol and text. Here's an example showing how to override the text https://codepen.io/annefitz/pen/abJvRaN (click on the map and more symbols will appear with the overridden text). The primitive override for the textString starts around line 143. For the symbol - are you trying to override a specific property on the symbol? Or can you explain a little more what you're trying to do there? I think the documentation for what can/cannot be overridden needs some updating (I'll work on that), but I believe what you're trying to do should be supported.
... View more
05-12-2021
01:41 PM
|
0
|
0
|
2795
|
|
POST
|
Hi James! I'm happy to hear that you're using CIM Symbols. To use attributes from your feature layer in the CIM symbol, you can use primitiveOverrides. Here's an example: https://developers.arcgis.com/javascript/latest/sample-code/cim-primitive-overrides/ The primitiveOverrides are set on the CIMSymbolReference of the CIMSymbol (line 223 in the sandbox of the example above). Set the primitiveName to match the primitiveName of the symbol layer you want to override, and set the propertyName to the property of that symbol layer that you are targeting. Then, use the valueExpressionInfo.expression property to access attributes from your FeatureLayer. This will take an Arcade expression if you want to do more complex calculations with your feature, or you can just return $feature.FIELDNAME. Hope this helps/makes sense! Let me know if you have further questions!
... View more
05-12-2021
08:55 AM
|
1
|
1
|
2804
|
|
POST
|
Hi John - would you be able to share a simple repro so we can take a look at the error?
... View more
05-04-2021
04:28 PM
|
0
|
1
|
1916
|
|
POST
|
No they don't have to be dots! Can be any point symbol - or lines and polygons can follow the same pattern, using CIM primitive overrides to override the symbol properties based on data values.
... View more
04-30-2021
10:46 AM
|
0
|
1
|
2357
|
|
POST
|
You should be able to accomplish this using CIMSymbols. Here's an example: https://developers.arcgis.com/javascript/latest/sample-code/cim-primitive-overrides/
... View more
04-30-2021
10:04 AM
|
1
|
0
|
2402
|
|
IDEA
|
Hi @snlasystem - thank you so much for your feedback! We plan to work on some improvements in the 4.20 release that will allow you to access the individual dimensions on the WMSLayer. I will keep you updated on this effort. Thanks again!
... View more
04-22-2021
01:32 PM
|
0
|
0
|
3476
|
|
POST
|
We're working on this for version 4.20. Here's a temporary fix in the meantime: https://codepen.io/annefitz/pen/jOyXOzL?editors=1010 require(["esri/tasks/support/ProjectParameters"], function(ProjectParameters) {
Object.defineProperty(ProjectParameters.prototype, "outSR", {
set(value) {
this.outSpatialReference = value;
},
});
});
... View more
04-22-2021
10:27 AM
|
2
|
0
|
1240
|
|
POST
|
Interesting, I haven't seen performance issues with this in the past. Would you be willing to share your app with me? You can email me at afitz@esri.com if you don't want to share it publicly here. Thank you!
... View more
04-20-2021
10:45 AM
|
0
|
2
|
2058
|
|
POST
|
Hi @martip23 - yes, this method is supported! Here is an example using the same symbol layer you mentioned above: https://codepen.io/annefitz/pen/eYgPMWP?editors=1000 The green stroke symbol layer is offset by 3 and the red stroke symbol layer has no offset applied. Let me know if you have further questions!
... View more
04-20-2021
10:36 AM
|
2
|
4
|
2065
|
|
POST
|
You can set MapView.constraints.snapToZoom to false - this will create a continuous zoom instead of snapping to the next LOD. You can see an example of this in use in this sample.
... View more
03-25-2021
11:30 AM
|
1
|
1
|
2979
|
|
POST
|
No - that's true, the LineSymbolMarker is just being autocast on the SimpleLineSymbol. var simpleLineSymbol = {
type: "simple-line",
color: "orange", // orange
width: 1.5,
marker: { // autocasts from LineSymbolMarker
type: "line-marker",
style: "arrow",
color: "blue",
placement: "begin"
}
}; You could add the type: "line-marker" on the marker property - but you don't have to since it is autocast. Hope this helps clear things up!
... View more
02-04-2021
09:32 AM
|
1
|
0
|
2608
|
|
POST
|
Hello, The type should be "simple-line" instead of "line-marker". Hope this helps!
... View more
02-04-2021
09:20 AM
|
1
|
2
|
2616
|
|
POST
|
Hi @Anonymous User - sorry about the confusion. Try setting your target to "es5" in the tsconfig instead of "es2019".
... View more
01-11-2021
09:27 AM
|
0
|
1
|
2656
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 10-24-2025 07:03 AM | |
| 1 | 09-09-2025 09:52 AM | |
| 1 | 09-03-2025 01:48 PM | |
| 1 | 08-22-2025 11:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|