|
POST
|
Hi, Is anyone able to fire the event with view.emit because what ever I tried I'm not able to fire the event programmatically. Can anyone be specific about the solution? Thanks, Sai Anand Peketi
... View more
07-29-2024
08:40 AM
|
0
|
0
|
1773
|
|
POST
|
Hi. I'm able to create a grid on the top of a polygon that works fine with polygon extent but I want to make the grid parallel to based on the polygon boundary. Does anyone have an idea to do that? Codepen of grid with Polygon extent https://codepen.io/Andy0206/pen/yLrpXjp Thanks in advance.
... View more
06-14-2024
12:15 PM
|
0
|
1
|
991
|
|
POST
|
Hi, Is it possible to rotate the extent of the polygon based on the angle? I'm able to create a grid on the top of polygon but it's not coming properly with the grid boundaries. I can rotate the map view but the extent is always pick the north direction. So, it looks odd on the map. Here the Codepen example: https://codepen.io/Andy0206/pen/yLrpXjp Thanks for help in advance
... View more
05-15-2024
12:58 PM
|
0
|
1
|
897
|
|
POST
|
@JohnGrayson Here is the Codepen example(https://codepen.io/Andy0206/pen/mdYJBEX?editors=1000) in which I'm trying to rotate the map view to make the polygon 90 degrees for one of my requirements. But the angle is not coming right as the second screenshot I have a polygon like this and want to make the polygon to 90 degrees with it.
... View more
05-14-2024
09:07 AM
|
0
|
1
|
1457
|
|
POST
|
Hi, Is there any way to rotate the map view properly based on the two-point angle? Currently, I'm using Geodesic Distance but I'm not getting correct angle to rotate the map view https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-geodesicUtils.html#geodesicDistance Thanks for help in advance
... View more
05-13-2024
11:09 AM
|
0
|
4
|
1512
|
|
POST
|
Hi, I want to restrict the sketch from sketch widget with the polygon boundary. I'm aware that we can get the geometry with event of click sketch.on("create, (event) => { if(!(geometryEngine.within(event.graphic.geometry, polygon))) { return; } }); but I'm still able to create feature outside the polygon boundary. Thanks
... View more
04-25-2024
08:55 AM
|
0
|
1
|
750
|
|
POST
|
Hi, I'm using ArcGIS API for JS. I'm able to create a grid of 1ft X 1ft. Now, whenever I'm able to add another polygon it should touch the grid and no one can start drawing in the middle of the grid, it has to be from corners based on grid size. Try to use snapping but not able to start the middle of the grid. Any idea or help will be more appreciated. Thanks, Sai
... View more
04-17-2024
10:49 AM
|
0
|
1
|
751
|
|
POST
|
Hi, I'm able to create a horizontal and vertical line to make a grid on top of a polygon based on xmin, ymin, xmax and ymax but it's coming out of the polygon. How can I make grid restrict with the polygon boundary? Thanks in advance. Please find the code: https://codepen.io/Andy0206/pen/yLrpXjp?editors=1000
... View more
04-03-2024
02:39 AM
|
0
|
1
|
991
|
|
POST
|
Hi Community, Can anyone help me out create a grid layer of 1ft x 1ft size on top of a polygon or geometry? I tried using the code of create vertical and horizontal line using ArcGIS JS for API. I was checked by passing the coordinated vertical line and horizontal line but how we can do for the polygon geometry area. var polyline1 = new Polyline([[0, 0],[5,0], [10, 0]]); var polyline2 = new Polyline([[0, 0],[0,5], [0, 10]]); Thanks, Sai
... View more
03-20-2024
04:54 AM
|
0
|
0
|
555
|
|
POST
|
Hi Community, Can anyone help me out create a grid layer of 1ft x 1ft size on top of a polygon or geometry? I tried using the code of create vertical and horizontal line using ArcGIS JS for API. I was checked by passing the coordinated vertical line and horizontal line but how we can do for the polygon geometry area. var polyline1 = new Polyline([[0, 0],[5,0], [10, 0]]); var polyline2 = new Polyline([[0, 0],[0,5], [0, 10]]); Thanks, Sai
... View more
03-06-2024
11:16 AM
|
0
|
0
|
631
|
|
POST
|
Thanks, @Justin_Greco . I'm able to save the bookmarks and refresh the browser to see the bookmarks but one issue is that it's going to the extent which I was set in the bookmark only it's zoom to that location. Attached the code pen, in the sample i was set chicago as center of bookmark and refresh the app then it's going to scale of chicago but now it's showing Kansas as center. https://codepen.io/SaiAnand-Peketi/pen/OJqErda
... View more
02-05-2024
11:10 PM
|
0
|
1
|
1350
|
|
POST
|
Hi, Could anyone please suggest me for the event to store the bookmarks in the session cookies. I'm able to see in 3.x https://developers.arcgis.com/javascript/3/jssamples/exp_bookmarks_stored_client_side.html. Is anyway to call a function that what it stored the bookmarks, Thanks, Sai
... View more
02-02-2024
12:02 PM
|
0
|
4
|
1463
|
|
POST
|
Hi All, I'm working with Search Widget. In that we can set the multiple search source by passing in the source value. But can we get the multiple value inside a single feature class. For Example, I have a type of "Xyz", "abc", and "pqs". Now, I want to search and people will select the dropdown value of "xyz" and the featurelayer will show only type of "xyz" in suggestion template and need to search. If anyone, did like this can you please share me some snippets code. Like this example "Search multiple sources | ArcGIS API for JavaScript 3.30" Adding multiple sources with different feature layer but if it's a single feature class then how we can achieve it. Like can we apply any query field in the source to restrict only show the particular type? Thanks, Sai Anand Peketi
... View more
10-22-2019
12:24 AM
|
1
|
1
|
1756
|
|
POST
|
Thanks for reply @Bryan McIntosh. I tried to change the recycle interval but not a success.
... View more
08-06-2019
03:32 AM
|
0
|
0
|
2393
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-22-2019 12:24 AM |