|
POST
|
Adding to the examples here's one using the sketch widget to interactively draw the polygon and polyline geometries that will be cut: https://codepen.io/john-grayson/pen/oNWgObw draw a polygon with any of the polygon tools draw a polyline with the polyline tool make sure it splits the polygon start and finish outside of the polygon if we find an existing polygon: cut the polygon with the polyline if the cut is successful: the input polygon is removed and the cut results are added
... View more
06-30-2021
05:34 PM
|
1
|
0
|
5066
|
|
POST
|
Have you seen this sample: https://developers.arcgis.com/javascript/latest/sample-code/layers-imagery-clientside/
... View more
06-30-2021
11:57 AM
|
0
|
0
|
4274
|
|
POST
|
https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection-edits/
... View more
05-25-2021
07:46 AM
|
0
|
4
|
3702
|
|
POST
|
You would need to use a FeatureLayer with client-side graphics, and you'd have to use applyEdits() to manage the data being added/removed to/from the layer.
... View more
05-25-2021
07:34 AM
|
0
|
2
|
3704
|
|
POST
|
Hard to tell what is going on from the description alone; do you have a very simple CodePen showing the issue? Hopefully being able to experience the issue will allow the community to suggest solutions or workarounds.
... View more
05-20-2021
07:59 AM
|
0
|
0
|
699
|
|
POST
|
Check out the sizeVvisualVariables parameters in Kristian's CodePen... it uses the parameter 'valueExpression', not 'expression'. Also not sure what your expression is as we can't see above the arcade code in the dom element called 'arcade-symbols'.
... View more
05-17-2021
02:03 PM
|
1
|
0
|
7109
|
|
POST
|
Since you'll be using Query to retrieve the features, check out the properties available in this class; and related to your question the 'start' parameter: Query.start
... View more
05-17-2021
08:39 AM
|
2
|
1
|
3059
|
|
POST
|
If you follow the vertices around in order you'll notice that they geometry does not self-intersect. Here's a codepen where we number the vertices so you can understand why this geometry doesn't self-intersect: https://codepen.io/john-grayson/pen/gOmaObZ
... View more
05-10-2021
11:15 AM
|
0
|
0
|
2230
|
|
POST
|
Do you have a very simple codepen showing the issue?
... View more
05-07-2021
04:16 PM
|
0
|
2
|
2251
|
|
POST
|
In your codepen you are mixing 3.x and 4.x code; that won't work. Here's a slightly modified version of your code that gets and sets the facilities before you start trying to call the solver: https://codepen.io/john-grayson/pen/oNZgPYX
... View more
05-07-2021
04:04 PM
|
2
|
0
|
2095
|
|
POST
|
Hard to tell what is going on; do you have a very simple codepen (or similar) so we can experience the issue? Not sure, but in the screenshot the lat/lon values display as strings, so maybe try converting them to numbers? example: Number(result.lng)
... View more
04-30-2021
08:07 AM
|
0
|
0
|
2514
|
|
POST
|
Hard to tell what is going on; do you have a very simple codepen (or similar) so we can experience the issue? My guess is that maybe the result.lng and result.lat values are strings instead of numbers, or maybe the values represent X and Y instead of longitude and latitude?
... View more
04-28-2021
09:02 AM
|
0
|
2
|
2560
|
|
POST
|
@UndralBatsukh: not sure, but would a requestInterceptor help for this use-case where we inject the historicMoment parameter if it's missing?
... View more
04-28-2021
08:19 AM
|
0
|
0
|
8252
|
|
POST
|
The error says you're trying to call the service with no observer locations passed in, so the first thing to check is to make sure there's at least one valid observer location before making the call. Hard to tell otherwise unless we have a reproducible use-case. My guess is that the there's no logic in the code to pause the interaction while there's processing going on and maybe that could be an issue, but just a guess as I haven't run into the situation described.
... View more
04-16-2021
10:36 AM
|
0
|
0
|
3721
|
|
POST
|
Please note that the service referenced in the SDK sample is for demonstration purposes and not intended for production use-case. Please see the Elevation Analysis services and specifically the Viewshed task. Here is a CodePen of the above sample modified to use the online Viewshed task. Another option is to publish your own GP service against your own datasets that exposes all the necessary parameters for your task: Controlling the visibility analysis
... View more
04-16-2021
08:57 AM
|
1
|
2
|
3732
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-07-2024 04:14 PM | |
| 1 | 02-23-2024 12:40 PM | |
| 1 | 03-01-2024 10:48 AM | |
| 2 | 08-03-2023 02:34 PM | |
| 2 | 07-19-2023 12:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-24-2024
06:01 PM
|